summaryrefslogtreecommitdiffstats
path: root/clang/Sema
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema')
-rw-r--r--clang/Sema/SemaStmt.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/Sema/SemaStmt.cpp b/clang/Sema/SemaStmt.cpp
index da2d12bfaf1..0bd05d86aed 100644
--- a/clang/Sema/SemaStmt.cpp
+++ b/clang/Sema/SemaStmt.cpp
@@ -48,6 +48,10 @@ Sema::StmtResult Sema::ParseDeclStmt(DeclTy *decl) {
Action::StmtResult
Sema::ParseCompoundStmt(SourceLocation L, SourceLocation R,
StmtTy **Elts, unsigned NumElts) {
+ // FIXME: ISO C90 forbids mixed declarations and code
+ // Note that __extension__ can be around a decl.
+
+
return new CompoundStmt((Stmt**)Elts, NumElts);
}
OpenPOWER on IntegriCloud