================
@@ -444,7 +444,8 @@ class LineJoiner {
     if (TheLine->Last->is(tok::l_brace) && FirstNonComment != TheLine->Last &&
         (FirstNonComment->isOneOf(tok::kw_if, tok::kw_while, tok::kw_for,
                                   TT_ForEachMacro) ||
-         TheLine->startsWithExportBlock())) {
+         (TheLine->startsWithExportBlock() &&
----------------
HazardyKnusperkeks wrote:

Now that the brace is annotated, you can use that information here.

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

Reply via email to