[PATCH] D20632: clang-format: [JS] Support shebang lines on the very first line.

Daniel Jasper via cfe-commits cfe-commits at lists.llvm.org
Wed May 25 10:47:51 PDT 2016


djasper added a comment.

Thinking some more, I think this is actually very close to what we do for #include(-like) statements. That is done in TokenAnnotator::parseLine() and TokenAnnotator::parseIncludeDirective(). Could you move the logic there?


http://reviews.llvm.org/D20632





More information about the cfe-commits mailing list