diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-26 18:32:22 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-26 18:32:22 +0000 |
commit | 0d425350b2e2b8d417370e1b212286ea5c63ed6f (patch) | |
tree | 55882143fc798582f96893a9826f21615edcde9a /clang/lib/CodeGen/CGDebugInfo.h | |
parent | c7d0e6525d4bb668f5e0b2586601dc18bfa77f85 (diff) | |
download | bcm5719-llvm-0d425350b2e2b8d417370e1b212286ea5c63ed6f.tar.gz bcm5719-llvm-0d425350b2e2b8d417370e1b212286ea5c63ed6f.zip |
Revrt PR4228 fix for now.
llvm-svn: 74304
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 8f3368e4ebf..de655800fa0 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -111,9 +111,7 @@ private: void EmitDeclare(const VarDecl *decl, unsigned Tag, llvm::Value *AI, CGBuilderTy &Builder); - /// createCompileUnit - Create a new unit for the given file. - llvm::DICompileUnit createCompileUnit(const char *FileName, bool isMain); - + /// getOrCreateCompileUnit - Get the compile unit from the cache or create a /// new one if necessary. llvm::DICompileUnit getOrCreateCompileUnit(SourceLocation Loc); |