cleanup-headers icon indicating copy to clipboard operation
cleanup-headers copied to clipboard

How to cleanup headers from .h file

Open ghost opened this issue 5 years ago • 4 comments

and also this is really a good tool to cleanup .cpp files

ghost avatar Feb 22 '19 01:02 ghost

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?

WojciechMula avatar Mar 13 '19 06:03 WojciechMula

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.

ghost avatar Mar 15 '19 13:03 ghost

That's interesting. Maybe some static objects/fields are not pulled into program?

WojciechMula avatar Mar 15 '19 13:03 WojciechMula

Did not known much on that

ghost avatar Mar 16 '19 08:03 ghost