From: Chris Lattner Date: Fri, 10 Apr 2009 21:40:09 +0000 (+0000) Subject: make a method public X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f908c519c1625e81d9e33d8a2a306a92834fe317;p=clang make a method public git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68827 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index f5b4b361a5..0bf6126d58 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -591,6 +591,10 @@ public: return DATELoc != SourceLocation() || TIMELoc != SourceLocation(); } + /// AllocateMacroInfo - Allocate a new MacroInfo object with the provide + /// SourceLocation. + MacroInfo* AllocateMacroInfo(SourceLocation L); + private: void PushIncludeMacroStack() { @@ -611,10 +615,6 @@ private: IncludeMacroStack.pop_back(); } - /// AllocateMacroInfo - Allocate a new MacroInfo object with the provide - /// SourceLocation. - MacroInfo* AllocateMacroInfo(SourceLocation L); - /// ReleaseMacroInfo - Release the specified MacroInfo. This memory will /// be reused for allocating new MacroInfo objects. void ReleaseMacroInfo(MacroInfo* MI);