[PATCH] D29450: [clang-format] Don't reflow across comment pragmas.

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 2 06:46:27 PST 2017


djasper added a comment.

I am bit unsure about the design here. Could we instead match against the CommentPragmas and then not even create a BreakableToken (or reflow) if that matches?

I guess that would make us unable to reflow if only part of the comment is a pragma, but that seems ok (for now at least).


https://reviews.llvm.org/D29450





More information about the cfe-commits mailing list