]> granicus.if.org Git - clang/commit
Add ugly "test harness" for PTHLexer that is not enabled by default. The
authorTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 07:56:33 +0000 (07:56 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 20 Nov 2008 07:56:33 +0000 (07:56 +0000)
commit15ba2af0f9ad52e67e908179b8ec2eb404e11c61
tree441a556ee7ead0ff4a216817e0a77b5b6444508a
parentac2dda65d2d39c0a83d95bdf6237edbf4685bc58
Add ugly "test harness" for PTHLexer that is not enabled by default. The
(temporary hack) to test the PTHLexer is that whenever we would create a Lexer
object we instead raw lex a memory buffer first and then use the PTHLexer. This
logic exists only to driver the PTHLexer and will be removed/changed in the
future. Note that the regular path using normal Lexer objects is what is used by
default.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59723 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPLexerChange.cpp