[clang] New indent pp directives before hash with code (PR #186686)
Björn Schäpers via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 15 12:38:11 PDT 2026
================
@@ -1556,7 +1564,8 @@ unsigned UnwrappedLineFormatter::format(
if (!DryRun) {
bool LastLine = TheLine.First->is(tok::eof);
formatFirstToken(TheLine, PreviousLine, PrevPrevLine, Lines, Indent,
- LastLine ? LastStartColumn : NextStartColumn + Indent);
+ LastLine ? LastStartColumn : NextStartColumn + Indent,
+ 0);
----------------
HazardyKnusperkeks wrote:
```suggestion
/*PPNestingLevel=*/0);
```
A stray `0` is not readable.
https://github.com/llvm/llvm-project/pull/186686
More information about the cfe-commits
mailing list