]> granicus.if.org Git - clang/commitdiff
Add an accessor, patch by Csaba Hruska.
authorChris Lattner <sabre@nondot.org>
Thu, 10 Jul 2008 05:26:30 +0000 (05:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Jul 2008 05:26:30 +0000 (05:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53391 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index 01d88d1e90de802d6288492bccddc2f663ceb6db..069c303f0bd184ca695c5f21fa0352032c5ccc45 100644 (file)
@@ -201,6 +201,7 @@ public:
   ///
   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; }