commit | 08985b91e5a87e7731ba24c675f2dc9f9cb645d4 | [log] [tgz] |
---|---|---|
author | Craig Silverstein <csilvers2000@yahoo.com> | Sat Nov 06 01:19:03 2010 +0000 |
committer | Craig Silverstein <csilvers2000@yahoo.com> | Sat Nov 06 01:19:03 2010 +0000 |
tree | 5727a046212aa17c3b9883210211422327d91d52 | |
parent | 2c4792c731690dbbcbe69dd0625977adffc2961a [diff] |
Add PPCallbacks for #if/#ifdef/etc. The callback info for #if/#elif is not great -- ideally it would give us a list of tokens in the #if, or even better, a little parse tree. But that's a lot more work. Instead, clients can retokenize using Lexer::LexFromRawLexer(). Reviewed by nlewycky. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118318 91177308-0d34-0410-b5e6-96231b3b80d8