commit | 4b391087f9c5582d448ab66ccbc7028f7673f380 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Tue Nov 18 01:33:13 2008 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Tue Nov 18 01:33:13 2008 +0000 |
tree | 79542f1e647e808232a917bb055520dda0a80009 | |
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