================
@@ -1178,8 +1180,9 @@ unsigned 
ContinuationIndenter::addTokenOnNewLine(LineState &State,
     }
     unsigned Newlines =
         std::max(1u, std::min(Current.NewlinesBefore, MaxEmptyLinesToKeep));
-    bool ContinuePPDirective =
-        State.Line->InPPDirective && State.Line->Type != LT_ImportStatement;
+    bool ContinuePPDirective = State.Line->InPPDirective &&
----------------
HazardyKnusperkeks wrote:

```suggestion
    const bool ContinuePPDirective = State.Line->InPPDirective &&
```
While at it.

https://github.com/llvm/llvm-project/pull/164300
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to