From: Chris Lattner Date: Mon, 3 Nov 2008 09:11:11 +0000 (+0000) Subject: privatize some methods. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86cd8afb03dea4c2e5011bd1866fa9eebf3c001f;p=clang privatize some methods. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58602 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);