================
@@ -1880,16 +1880,76 @@ Sema::ConditionResult 
Parser::ParseCXXCondition(StmtResult *InitStmt,
     return Sema::ConditionError();
   }
 
+  if (Tok.is(tok::kw___extension__)) {
+    // In C, the first clause of a condition may be a declaration used as an
----------------
AaronBallman wrote:

```suggestion
    // The first clause of a condition may be a declaration used as an
```
Just so it doesn't look like this is supposed to be C-specific.

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