CLion make wrong analysis about unused class?

已回答

I use CLIon 2017.3.3 Sometimes CLion make wrong analysis in my project.

 

In this code, class A is used in `main` but CLion say `class 'A' never unused`.

This is problematic for other big projects...

0
Avatar
Permanently deleted user

My mistake: CLion 2018.3 -> CLion 2017.3.3

0
Avatar
Permanently deleted user

0

Hi! The issue looks related to https://youtrack.jetbrains.com/issue/CPP-5345. Some fixes for this issue were already implemented in CLion 2018.1 EAP. Please try it. On my side I can reproduce the issue with 2017.3.3 and can't reproduce with 2018.1 EAP.

0

请先登录再写评论。