From 86cd8afb03dea4c2e5011bd1866fa9eebf3c001f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Nov 2008 09:11:11 +0000 Subject: [PATCH] privatize some methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58602 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGDebugInfo.h | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.40.0