cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

CppCheck: small `AnalyzerInformation` usage cleanup

Open firewave opened this issue 1 year ago • 3 comments

firewave avatar Jul 23 '24 10:07 firewave

I was trying to make the object local instead of a class member but as it is being used by reportErr() that is unfortunately not possible.

Even I did not achieve that goal the usage checks got more explicit instead of relying on Settings::buildDir all over the code making things easier to read.

firewave avatar Jul 23 '24 10:07 firewave

I think I might need to add some builddir-related tests first.

firewave avatar Jul 23 '24 10:07 firewave

The fact that CppCheck object owns the Settings object complicates things. That also needs to be resolved first it seems...

firewave avatar Jul 29 '24 06:07 firewave