From: Chris Lattner Date: Thu, 10 Jul 2008 05:26:30 +0000 (+0000) Subject: Add an accessor, patch by Csaba Hruska. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d5e3ae5bd8028774f07d7c3751d4db82118942;p=clang Add an accessor, patch by Csaba Hruska. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53391 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 01d88d1e90..069c303f0b 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -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; }