cleanup-headers
cleanup-headers copied to clipboard
How to cleanup headers from .h file
and also this is really a good tool to cleanup .cpp files
There's no simple way to cleanup header files. I don't know what criteria should be used then. BTW, did you try https://clang.llvm.org/extra/include-fixer.html?
Thanks for the reply, I did not try that, I found that when you cleaned some headers, the binary file size will also be reduced.
That's interesting. Maybe some static objects/fields are not pulled into program?
Did not known much on that