Move Decl::NextDeclarator (w/ setters/getters) down to ScopedDecl/FieldDecl.
Decl is now svelte:-)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41935 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp
index fa15c2e..b7f1f29 100644
--- a/CodeGen/CGStmt.cpp
+++ b/CodeGen/CGStmt.cpp
@@ -318,7 +318,8 @@
}
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);
}