cppcheck
cppcheck copied to clipboard
CppCheck: small `AnalyzerInformation` usage cleanup
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.
I think I might need to add some builddir-related tests first.
The fact that CppCheck object owns the Settings object complicates things. That also needs to be resolved first it seems...