[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:13 PDT 2026


================
@@ -2525,11 +2542,30 @@ bool UnwrappedLineParser::parseBracedList(bool IsAngleBracket, bool IsEnum) {
         parseChildBlock();
       }
     }
+    // For BeforeHashWithCode enum bodies: whenever readToken just processed a
+    // PP directive and returned the first post-PP token (AtEndOfPPLine=true),
----------------
HazardyKnusperkeks wrote:

```suggestion
    // PP directive and returned the first post-PP token (AtEndOfPPLine == true),
```

https://github.com/llvm/llvm-project/pull/186686


More information about the cfe-commits mailing list