]> granicus.if.org Git - clang/commit
PTHLexer:
authorTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 16:32:22 +0000 (16:32 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 16:32:22 +0000 (16:32 +0000)
commit31aba425a01c8c957e662ccfaa71f923d0f0932a
tree8992bb562cddd652a7744c1e47002d8c36570264
parent8ba10745f525467e91bbaec21044bf4d9017a988
PTHLexer:
- Rename 'CurToken' and 'LastToken' to 'CurTokenIdx' and 'LastTokenIdx'
  respectively.
- Add helper methods GetToken(), AdvanceToken(), AtLastToken() to abstract away
  details of the token stream. This also allows us to easily replace their
  implementation later.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59733 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PTHLexer.h
lib/Lex/PTHLexer.cpp