diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-03 09:11:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-03 09:11:11 +0000 |
commit | 86cd8afb03dea4c2e5011bd1866fa9eebf3c001f (patch) | |
tree | 61d250ed8409926b4d039df412c3773ab68a43a1 | |
parent | 87f8de72a3c5d61736a14dca271504aaa5020d6f (diff) |
privatize some methods.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58602 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGDebugInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.h b/lib/CodeGen/CGDebugInfo.h index 9f25812406..b6a35449d8 100644 --- a/lib/CodeGen/CGDebugInfo.h +++ b/lib/CodeGen/CGDebugInfo.h @@ -130,6 +130,9 @@ public: /// EmitGlobalVariable - Emit information about a global variable. void EmitGlobalVariable(llvm::GlobalVariable *GV, const VarDecl *decl); + +private: + /// getOrCreateCompileUnit - Get the compile unit from the cache or create a /// new one if necessary. llvm::CompileUnitDesc *getOrCreateCompileUnit(SourceLocation loc); |