[PATCH] Don't break string literals inside the _T() macro. A workaround for http://llvm.org/PR17122

Alexander Kornienko alexfh at google.com
Thu Sep 12 07:59:44 PDT 2013


  When in pre-c++11 mode, treat _T("xxx") as a single string literal, repeat the _T() part around each fragment.

Hi djasper,

http://llvm-reviews.chandlerc.com/D1640

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1640?vs=4167&id=4230#toc

Files:
  lib/Format/BreakableToken.cpp
  lib/Format/BreakableToken.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  lib/Format/WhitespaceManager.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1640.2.patch
Type: text/x-patch
Size: 12849 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130912/129841b3/attachment.bin>


More information about the cfe-commits mailing list