diff options
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r-- | CodeGen/CodeGenModule.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h index 5c61ad882b..6339f51671 100644 --- a/CodeGen/CodeGenModule.h +++ b/CodeGen/CodeGenModule.h @@ -33,6 +33,7 @@ namespace clang { class Expr; class Stmt; class ValueDecl; + class VarDecl; class FileVarDecl; struct LangOptions; class Diagnostic; @@ -69,8 +70,7 @@ public: llvm::Constant *GetAddrOfFunctionDecl(const FunctionDecl *D, bool isDefinition); - llvm::Constant *GetAddrOfFileVarDecl(const FileVarDecl *D, - bool isDefinition); + llvm::Constant *GetAddrOfGlobalVar(const VarDecl *D, bool isDefinition); /// getBuiltinLibFunction - Given a builtin id for a function like |