================
@@ -1880,16 +1880,70 @@ Sema::ConditionResult 
Parser::ParseCXXCondition(StmtResult *InitStmt,
     return Sema::ConditionError();
   }
 
+  if (!getLangOpts().CPlusPlus && Tok.is(tok::kw___extension__)) {
----------------
AaronBallman wrote:

I don't think this is specific to C, we support `__extension__` in C++ as well 
and that also fails: https://godbolt.org/z/soexsEnYP

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

Reply via email to