cppclean
cppclean copied to clipboard
Finds problems in C++ source that slow development of large code bases
If the includes are not bunched together in the code, cppclean fails to identify some includes that are present and raises a warning. Example: ``` #include "file.h" #include #include "file2.h"...
A way to fix #164
This change is for fixing issue #155 reported by me. Please pull and merge this. Note: Our project use extension .hxx for c++ header files and .h for c header...
Reproducer is 3 files - lol.c : ``` #include "toto.h" #include int main() { toto p; p.t = 3; printf("loli %llx\n", p.t); return 0; } ``` - toto.h : ```...
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. -...
Resolves #126
There should be possibility to ignore warnings with some comment in code for example: ```cpp // NOCLEAN #include "not_needed_header.h" ``` This would help with false-positives until the other issues are...
I use the following command: `python .\cppclean --include-path pathToMyProject\ pathToACppFilesWithToMuchHeader\myfile.cpp` and I have the following output: ` pathToACppFilesWithToMuchHeader\myfile.cpp: should #include header file 'FullPath\myfile.h' ` but in myfile.cpp I include this...
Ran this on my code base. I handle dependencies as git submodules, so they're all in my working tree and cppclean ran on all of them. It spit out a...