commit | 6d926ae667cca926e77ddce1734514911706ed0a | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Sat Nov 17 20:25:54 2012 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Sat Nov 17 20:25:54 2012 +0000 |
tree | 2a5f1f325132192956b3b09a30aa32005bcf5dc9 | |
parent | 3f03b586351779be6947466f530f22c491b1b70f [diff] |
Fix crash on end-of-file after \ in a char literal, fixes PR14369. This makes LexCharConstant() look more like LexStringLiteral(), which doesn't have this bug. Add tests for eof after \ for several other cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168269 91177308-0d34-0410-b5e6-96231b3b80d8