[PATCH] D32733: [clang-format] Convert AlignEscapedNewlinesLeft to an enum, adding DontAlign

Jacob Bandes-Storch via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 2 00:45:20 PDT 2017


jtbandes added a comment.

In https://reviews.llvm.org/D32733#743116, @djasper wrote:

> This is an edge case in actual C++. An escaped newline literally gets expanded to nothing. So what this reads is
>
> #define Onetwo \
>  ...


Yeah, I noticed that, but nonetheless it shouldn't break the alignment of \ in the subsequent lines...

Thanks for reviewing! I don't have permissions to commit code; could you do it for me?


https://reviews.llvm.org/D32733





More information about the cfe-commits mailing list