diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-18 01:33:13 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-18 01:33:13 +0000 |
commit | 4b391087f9c5582d448ab66ccbc7028f7673f380 (patch) | |
tree | 79542f1e647e808232a917bb055520dda0a80009 /lib/Lex/Preprocessor.cpp | |
parent | 29a1cfbec38d255dd24ba660333a2430849a2f1c (diff) |
- Add Lexer::isPragma() accessor for clients of Lexer that aren't friends.
- Add static method to test if the current lexer is a non-macro/non-pragma
lexer.
- Refactor some code in PPLexerChange to use this static method.
- No performance change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions