[PATCH] D123676: [clang-format] Fix WhitespaceSensitiveMacros not being honoured when macro closing parenthesis is followed by a newline.
Marek Kurdej via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 16 13:01:32 PDT 2022
curdeius added a comment.
In D123676#3515949 <https://reviews.llvm.org/D123676#3515949>, @krasimir wrote:
> It looks like this regressed the following example by adding an unwanted level of indentation to the `#elif B` branch:
Sure, I'll have a look.
It seems that even this:
MACRO_BEGIN
#if A
int f();
#else
int f();
#endif
gets misindented:
MACRO_BEGIN
#if A
int f();
#else
int
f();
#endif
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123676/new/
https://reviews.llvm.org/D123676
More information about the cfe-commits
mailing list