================
@@ -528,7 +553,16 @@ void UnwrappedLineParser::calculateBraceTypes(bool
ExpectClassBody) {
Tok->setBlockKind(BK_Block);
}
} else {
- Tok->setBlockKind(BK_Unknown);
+ // In macro bodies we try to keep compound literal expressions like
----------------
HazardyKnusperkeks wrote:
Which path does it take outside of a macro? Can we work on that in a later
stage, where `MatchingParen` is already set?
https://github.com/llvm/llvm-project/pull/173771
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits