================
@@ -127,12 +127,24 @@ BraceInsertionHints getBraceInsertionsHints(const Stmt
*const S,
if (StartLoc.isInvalid())
return {};
+ const Stmt *InnerS = S;
+ while (const auto *AS = dyn_cast<AttributedStmt>(InnerS))
----------------
zwuis wrote:
`while` or `if`? Can `AttributedStmt` be a substatement of a `AttributedStmt`?
https://github.com/llvm/llvm-project/pull/184095
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits