slycelote / caide-cpp-inliner

Transform a C++ program consisting of multiple source files and headers into a single self-contained source file without any external dependencies (except for standard system headers). Unused code is not included in the resulting file.
Other
32 stars 12 forks source link

[Suggestion] Remove empty lines between #include directives #5

Closed AlCash07 closed 2 years ago

AlCash07 commented 7 years ago

If standard header includes come from different files (while all other content is removed), they come in succession with empty lines left between them. It would be nice to (optionally) group them together.

slycelote commented 7 years ago

Agree. Actually, it's possible that some content between include directives remains. They all should be pulled up to the top of the file.