]> granicus.if.org Git - clang/commit
Teach Lexer::getSpelling about raw string literals. Specifically, if a raw
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 07:29:00 +0000 (07:29 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 28 Nov 2012 07:29:00 +0000 (07:29 +0000)
commit30cddaec99fa6c3207613efdaedbb51dd8d70c77
tree8dfd8b004454cf98e66f2a77f5738d8d906755cb
parentacf796b4797c5b3e9e237148fa622afdc04b3eff
Teach Lexer::getSpelling about raw string literals. Specifically, if a raw
string literal needs cleaning (because it contains line-splicing in the
encoding prefix or in the ud-suffix), do not clean the section between the
double-quotes -- that's the "raw" bit!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168776 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Lexer.cpp
test/CXX/lex/lex.literal/lex.ext/p5.cpp
test/CodeGen/string-literal.c