diff options
Diffstat (limited to 'clang/CodeGen/CGStmt.cpp')
| -rw-r--r-- | clang/CodeGen/CGStmt.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/CodeGen/CGStmt.cpp b/clang/CodeGen/CGStmt.cpp index fa15c2e620c..b7f1f29f878 100644 --- a/clang/CodeGen/CGStmt.cpp +++ b/clang/CodeGen/CGStmt.cpp @@ -318,7 +318,8 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) { } void CodeGenFunction::EmitDeclStmt(const DeclStmt &S) { - for (const Decl *Decl = S.getDecl(); Decl; Decl = Decl->getNextDeclarator()) + for (const ScopedDecl *Decl = S.getDecl(); Decl; + Decl = Decl->getNextDeclarator()) EmitDecl(*Decl); } |

