diff options
author | Steve Naroff <snaroff@apple.com> | 2008-04-15 22:42:06 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-04-15 22:42:06 +0000 |
commit | 08899ff85dde961d36bf0c94d07ee3418905d536 (patch) | |
tree | f62f9495dbc4863310a91c87b36f3a17446beb8d /clang/lib/CodeGen/CodeGenModule.h | |
parent | 82b6673c44ee0153c5f252f38b95cb21396cc0b2 (diff) | |
download | bcm5719-llvm-08899ff85dde961d36bf0c94d07ee3418905d536.tar.gz bcm5719-llvm-08899ff85dde961d36bf0c94d07ee3418905d536.zip |
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl().
This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it).
llvm-svn: 49748
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 553b3667762..3fcb56e3c4f 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -37,7 +37,6 @@ namespace clang { class ValueDecl; class VarDecl; class TypeDecl; - class FileVarDecl; struct LangOptions; class Diagnostic; @@ -103,8 +102,8 @@ public: void EmitObjCMethod(const ObjCMethodDecl *OMD); void EmitFunction(const FunctionDecl *FD); - void EmitGlobalVar(const FileVarDecl *D); - void EmitGlobalVarDeclarator(const FileVarDecl *D); + void EmitGlobalVar(const VarDecl *D); + void EmitGlobalVarDeclarator(const VarDecl *D); void UpdateCompletedType(const TagDecl *D); llvm::Constant *EmitGlobalInit(const Expr *E); llvm::Constant *EmitConstantExpr(const Expr *E, CodeGenFunction *CGF = 0); |