[cfe-commits] r68827 - /cfe/trunk/include/clang/Lex/Preprocessor.h

Chris Lattner sabre at nondot.org
Fri Apr 10 14:40:09 PDT 2009


Author: lattner
Date: Fri Apr 10 16:40:09 2009
New Revision: 68827

URL: http://llvm.org/viewvc/llvm-project?rev=68827&view=rev
Log:
make a method public

Modified:
    cfe/trunk/include/clang/Lex/Preprocessor.h

Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=68827&r1=68826&r2=68827&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Fri Apr 10 16:40:09 2009
@@ -591,6 +591,10 @@
     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 @@
     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);





More information about the cfe-commits mailing list