summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-04-20 20:38:08 +0000
committerNate Begeman <natebegeman@mac.com>2008-04-20 20:38:08 +0000
commit1c906206b87029ed2e18dde71ad5196d73a32608 (patch)
treeedb0277291c1dec0e02df42fe2c8c08abe96fa40 /clang/lib/CodeGen/CodeGenModule.h
parentb3b6007c8b46c38ac9ab3913bacc36f036ea82b5 (diff)
downloadbcm5719-llvm-1c906206b87029ed2e18dde71ad5196d73a32608.tar.gz
bcm5719-llvm-1c906206b87029ed2e18dde71ad5196d73a32608.zip
Fix PR2236
Add test Implement feedback from Chris re: PR1998 llvm-svn: 50001
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index aa676d6fdc6..e048d595644 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/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;
OpenPOWER on IntegriCloud