[PATCH] D40832: [clang-format] Adds canonical raw string delimiters support

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 05:13:07 PST 2017


krasimir created this revision.
Herald added subscribers: cfe-commits, klimek.

A canonical raw string delimiter for a given language is the preferred raw string
delimiter to use for that language. For example, both 'pb' and 'proto' could
serve to indentify a raw string literal as a proto string, but 'proto' is the
preferred one.
This patch adds support for canonical raw string delimiters to clang-format,
effectively updating the delimiters to the canonical one.


Repository:
  rC Clang

https://reviews.llvm.org/D40832

Files:
  docs/ClangFormatStyleOptions.rst
  include/clang/Format/Format.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  unittests/Format/FormatTestRawStrings.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40832.125499.patch
Type: text/x-patch
Size: 16010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/0b76a6a7/attachment-0001.bin>


More information about the cfe-commits mailing list