[clang-format] Reorganize RawStringFormat based on language
authorKrasimir Georgiev <krasimir@google.com>
Wed, 17 Jan 2018 12:24:59 +0000 (12:24 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Wed, 17 Jan 2018 12:24:59 +0000 (12:24 +0000)
commit6abf9f94c53f28061dbc633955bfec5f180cea8a
tree402a6a7b4faaebf5f71be7c6691c588f75428c4a
parent8497b287c57ae218ac0ac7c326d89cbd108b3860
[clang-format] Reorganize RawStringFormat based on language

Summary:
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.

Reviewers: bkramer

Reviewed By: bkramer

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D42098

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322634 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Format/Format.h
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestRawStrings.cpp