This revision was automatically updated to reflect the committed changes.
Closed by commit rC322956: [clang-format] Adds a canonical delimiter to raw
string formatting (authored by krasimir, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42187?vs=130587&id=130626#toc
Reposi
krasimir added inline comments.
Comment at: lib/Format/ContinuationIndenter.cpp:1336
+ unsigned OldSuffixSize = 2 + OldDelimiter.size();
+ std::string RawText =
+ Current.TokenText.substr(OldPrefixSize).drop_back(OldSuffixSize);
bkramer wrote:
> Can this b
krasimir updated this revision to Diff 130587.
krasimir marked an inline comment as done.
krasimir added a comment.
- Add a comment about std::string
Repository:
rC Clang
https://reviews.llvm.org/D42187
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Co
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
Comment at: lib/Format/ContinuationIndenter.cpp:1336
+ unsigned OldSuffixSize = 2 + OldDelimiter.size();
+ std::string RawText =
+ Current.TokenText.substr(OldPre
krasimir created this revision.
Herald added subscribers: cfe-commits, klimek.
This patch adds canonical delimiter support to the raw string formatting.
This allows matching delimiters to be updated to the canonical one.
Repository:
rC Clang
https://reviews.llvm.org/D42187
Files:
docs/Clan