diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-25 02:41:16 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-25 02:41:16 +0000 |
commit | e1d4330adaaa7faf093e725c9c993207eb2d778a (patch) | |
tree | 94dfbe95ee356d43c34439d5e751cbcd9b2afe07 /include/clang/Lex/Preprocessor.h | |
parent | e571578002fc3d4ebb654d2f31d2446d7cc1831d (diff) |
Don't record nested macro expansions in the preprocessing record,
it can only bring pain when dealing with preprocessor abuse (see: boost).
rdar://10898986
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 960bf07ddd..8c3b742137 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -512,7 +512,7 @@ public: /// \brief Create a new preprocessing record, which will keep track of /// all macro expansions, macro definitions, etc. - void createPreprocessingRecord(bool IncludeNestedMacroExpansions); + void createPreprocessingRecord(); /// EnterMainSourceFile - Enter the specified FileID as the main source file, /// which implicitly adds the builtin defines etc. |