[clang] [clang-format][NFC] Simplify AlignMacroMatches (PR #164122)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 20 01:18:24 PDT 2025


================
@@ -656,7 +656,6 @@ void WhitespaceManager::alignConsecutiveMacros() {
 
   auto AlignMacrosMatches = [](const Change &C) {
     const FormatToken *Current = C.Tok;
----------------
HazardyKnusperkeks wrote:

```suggestion
    const FormatToken *Current = C.Tok;
    assert(Current);
```

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


More information about the cfe-commits mailing list