[PATCH] D20898: [clang-format] skip empty lines and comments in the top of the code when inserting new headers.

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 09:41:16 PDT 2016


djasper added a comment.

Could we very easily use the FormatTokenLexer for this? I.e. find the first non-comment token an start from there?


http://reviews.llvm.org/D20898





More information about the cfe-commits mailing list