Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 11.0.3
-
None
Description
CppCheck plugin does not work well with code that uses preprocessor macros. For example, I'm using a macro to throw an exception which automatically inserts the
__FILE__
and
__LINE__
macros into the message. But when analysed by CppCheck, it does not understand that the macro does throw an exception and prints invalid warnings. CppCheck should analyse the code after all preprocessor stuff has been evaluated