]> granicus.if.org Git - clang/commitdiff
make a method public
authorChris Lattner <sabre@nondot.org>
Fri, 10 Apr 2009 21:40:09 +0000 (21:40 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Apr 2009 21:40:09 +0000 (21:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68827 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index f5b4b361a563b0a71d1a9a5433ee35aa36772d1e..0bf6126d587f49d8e0ae84dc81d58b6a45ece84c 100644 (file)
@@ -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);