]> granicus.if.org Git - clang/commit
- Add Lexer::isPragma() accessor for clients of Lexer that aren't friends.
authorTed Kremenek <kremenek@apple.com>
Tue, 18 Nov 2008 01:33:13 +0000 (01:33 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 18 Nov 2008 01:33:13 +0000 (01:33 +0000)
commit4b391087f9c5582d448ab66ccbc7028f7673f380
tree79542f1e647e808232a917bb055520dda0a80009
parent29a1cfbec38d255dd24ba660333a2430849a2f1c
- 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
include/clang/Lex/Lexer.h
lib/Lex/PPLexerChange.cpp