[PATCH] Better support for multiline string literals (including C++11 raw string literals).

Alexander Kornienko alexfh at google.com
Thu Aug 29 10:03:33 PDT 2013


  Added FormatToken::IsMultiline, so that we don't search TokenText for '\n' each time.

Hi djasper,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1544?vs=3893&id=3900#toc

BRANCH
  svn

ARCANIST PROJECT
  clang

Files:
  lib/Format/ContinuationIndenter.cpp
  lib/Format/ContinuationIndenter.h
  lib/Format/Format.cpp
  lib/Format/FormatToken.h
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1544.2.patch
Type: text/x-patch
Size: 11431 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130829/cb253f44/attachment.bin>


More information about the cfe-commits mailing list