llvm-project/clang/unittests/Lex
Taewook Oh cebac48bf7 Stringizing raw string literals containing newline
Summary: This patch implements 4.3 of http://open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4220.pdf. If a raw string contains a newline character, replace each newline character with the \n escape code. Without this patch, included test case (macro_raw_string.cpp) results compilation failure.

Reviewers: rsmith, doug.gregor, jkorous-apple

Reviewed By: jkorous-apple

Subscribers: jkorous-apple, vsapsai, cfe-commits

Differential Revision: https://reviews.llvm.org/D39279

llvm-svn: 319904
2017-12-06 17:00:53 +00:00
..
CMakeLists.txt [CMake] Use PRIVATE in target_link_libraries for executables 2017-12-05 21:49:56 +00:00
HeaderMapTest.cpp Lex: Return "" when HeaderMap::lookupFilename fails 2016-02-23 00:48:16 +00:00
LexerTest.cpp Stringizing raw string literals containing newline 2017-12-06 17:00:53 +00:00
PPCallbacksTest.cpp Add #pragma clang module build/endbuild pragmas for performing a module build 2017-06-09 19:22:32 +00:00
PPConditionalDirectiveRecordTest.cpp Add #pragma clang module build/endbuild pragmas for performing a module build 2017-06-09 19:22:32 +00:00