mygitljf wrote:
I added these two because each hits a different path: { operator } a } b
triggers the bug through consumeToken's kw_operator inner loop, and enum E { {
? } a } triggers the second assertion (Scopes.back() ==
getScopeType(OpeningBrace)) since the outer enum's ST_Enum frame doesn't match
the inner brace's ST_Other — so I think they together prove both if-returns in
parseBrace are doing real work.
https://github.com/llvm/llvm-project/pull/199098
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits