diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-05 05:48:17 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-03-05 05:48:17 +0000 |
commit | c6c54521f95760a5eaf29b668d4bf41fe2af49d7 (patch) | |
tree | 6ada59b96dd2a62d1050a84ca88a20deb19ce1fd /include/clang/Lex/Preprocessor.h | |
parent | bb660666883de8b32999c1e5fbe3c32e2cafbdf6 (diff) |
[preprocessor] Enhance PreprocessingRecord to keep track of locations of conditional directives.
Introduce PreprocessingRecord::rangeIntersectsConditionalDirective() which returns
true if a given range intersects with a conditional directive block.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152018 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 9ee9e82529..c5bccb1171 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(); + void createPreprocessingRecord(bool RecordConditionalDirectives); /// EnterMainSourceFile - Enter the specified FileID as the main source file, /// which implicitly adds the builtin defines etc. |