cppclean
cppclean copied to clipboard
Export macros create false positives in function declarations
Code sample:
#ifndef MEOW_H_ATIHVJ0Z
#define MEOW_H_ATIHVJ0Z
#define some_export_macro
class Meow;
Meow some_export_macro meow();
#endif /* end of include guard: MEOW_H_ATIHVJ0Z */
Expected result:
$ cppclean meow.h
Actual:
$ cppclean meow.h
meow.h:6: 'Meow' not used