]> granicus.if.org Git - clang/commit
When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T...
authorAlexander Kornienko <alexfh@google.com>
Mon, 16 Sep 2013 20:20:49 +0000 (20:20 +0000)
committerAlexander Kornienko <alexfh@google.com>
Mon, 16 Sep 2013 20:20:49 +0000 (20:20 +0000)
commit2c2f729d10cb10324bf2e7871867f7bbc19ad358
tree5c89391afc990883a28e1caaf2c8959a5b5f6fbf
parente1668a3a07a048eb5520410119b8b06787bfcc10
When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment. This addresses http://llvm.org/PR17122

Reviewers: djasper

Reviewed By: djasper

CC: cfe-commits, klimek, rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D1640

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
lib/Format/WhitespaceManager.cpp
unittests/Format/FormatTest.cpp