aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index aa676d6fdc..e048d59564 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -34,9 +34,8 @@ namespace clang {
class Decl;
class Expr;
class Stmt;
- class ValueDecl;
+ class NamedDecl;
class VarDecl;
- class TypeDecl;
struct LangOptions;
class Diagnostic;
class AnnotateAttr;
@@ -59,7 +58,7 @@ class CodeGenModule {
llvm::Function *MemCpyFn;
llvm::Function *MemSetFn;
llvm::DenseMap<const Decl*, llvm::Constant*> GlobalDeclMap;
- std::vector<const Decl*> StaticDecls;
+ std::vector<const NamedDecl*> StaticDecls;
std::vector<llvm::Constant*> GlobalCtors;
std::vector<llvm::Constant*> Annotations;