[PATCH] D42098: [clang-format] Reorganize RawStringFormat based on language

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 03:29:10 PST 2018


krasimir created this revision.
krasimir added a reviewer: bkramer.
Herald added a subscriber: klimek.

This patch changes the structure for raw string formatting options by making it
language based (enumerate delimiters per language) as opposed to delimiter-based
(specify the language for a delimiter). The raw string formatting now uses an
appropriate style from the .clang-format file, if exists.


Repository:
  rC Clang

https://reviews.llvm.org/D42098

Files:
  include/clang/Format/Format.h
  lib/Format/ContinuationIndenter.cpp
  lib/Format/Format.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestRawStrings.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42098.129931.patch
Type: text/x-patch
Size: 10076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180116/28acbaca/attachment.bin>


More information about the cfe-commits mailing list