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

Chris Lattner sabre at nondot.org
Wed Jul 9 22:26:31 PDT 2008


Author: lattner
Date: Thu Jul 10 00:26:30 2008
New Revision: 53391

URL: http://llvm.org/viewvc/llvm-project?rev=53391&view=rev
Log:
Add an accessor, patch by Csaba Hruska.

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=53391&r1=53390&r2=53391&view=diff

==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Thu Jul 10 00:26:30 2008
@@ -201,6 +201,7 @@
   ///
   void setMacroInfo(IdentifierInfo *II, MacroInfo *MI);
   
+  const std::string &getPredefines() const { return Predefines; }
   /// setPredefines - Set the predefines for this Preprocessor.  These
   /// predefines are automatically injected when parsing the main file.
   void setPredefines(const char *P) { Predefines = P; }





More information about the cfe-commits mailing list