commit | 590f0cc643274267d4d41125b62557e1d87886c3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Oct 12 01:15:46 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Oct 12 01:15:46 2008 +0000 |
tree | 14c635be6f090632fb0f04d9e5957144d1270ac1 | |
parent | 3304e55f613ce34d9a14c3aaf06f5949408b3092 [diff] |
Change how raw lexers are handled: instead of creating them and then using LexRawToken, create one and use LexFromRawLexer. This avoids twiddling the RawLexer flag around and simplifies some code (even speeding raw lexing up a tiny bit). This change also improves the token paster to use a Lexer on the stack instead of new/deleting it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57393 91177308-0d34-0410-b5e6-96231b3b80d8