I was playing with cppcheck build dir and caching of the build dir to
speedup cppcheck analysis. What I have observed is that with each cppcheck
execution, new empty ctu-info files are generated.
What exactly are ctu-info files? I failed to find documentation in wiki and
in pdf manual.
They contain information used for whole program analysis.
I am not sure why your files are empty. But if they are not empty and you want to enable some whole program analysis checking then I'd recommend that they are kept.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was playing with cppcheck build dir and caching of the build dir to
speedup cppcheck analysis. What I have observed is that with each cppcheck
execution, new empty ctu-info files are generated.
What exactly are ctu-info files? I failed to find documentation in wiki and
in pdf manual.
Do I need to keep the files?
How do you call cppcheck? I only see
*.a1
,*.s2
andfiles.txt
in the build dir.Try calling cppcheck the following way
It seems that those files are generated when an addon is run. You can certainly delete them if they are bothering you.
CTU=Cross Translation Unit.
They contain information used for whole program analysis.
I am not sure why your files are empty. But if they are not empty and you want to enable some whole program analysis checking then I'd recommend that they are kept.