[clang-format] Do not format raw string literals inside a recognized function with...
authorKrasimir Georgiev <krasimir@google.com>
Thu, 28 Jun 2018 16:58:24 +0000 (16:58 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Thu, 28 Jun 2018 16:58:24 +0000 (16:58 +0000)
commit2d69f5d82e9caac6ae1607693df1e7c37a2adbcf
tree2db7c42bcded2eee0deda40c3ba0a20123bb60f9
parentcefbf9aca1d52505ecd0a4a526f5b914ae760078
[clang-format] Do not format raw string literals inside a recognized function with a non-recognized delimiter

Summary:
This stops clang-format from touching raw string contents with unrecognized delimiters inside recognized functions.
Unrecognized delimiters signal that the string might be special.

Subscribers: cfe-commits

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

llvm-svn: 335876
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTestRawStrings.cpp