================
@@ -1355,6 +1362,10 @@ unsigned UnwrappedLineFormatter::format(
bool FixIndentation = (FixBadIndentation || ContinueFormatting) &&
Indent != TheLine.First->OriginalColumn;
bool ShouldFormat = TheLine.Affected || FixIndentation;
+
+ if (Style.IgnorePPDefinitions && LineContainsPPDefinition(TheLine))
----------------
owenca wrote:
```suggestion
if (Style.IgnorePPDefinitions && TheLine.startsWith(tok::hash,
tok::pp_define))
```
https://github.com/llvm/llvm-project/pull/70338
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits