]> granicus.if.org Git - clang/commit
[clang-format] Keep @message together in text protos
authorKrasimir Georgiev <krasimir@google.com>
Mon, 25 Jun 2018 12:43:12 +0000 (12:43 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 25 Jun 2018 12:43:12 +0000 (12:43 +0000)
commit69593b34c37d3bb5ecc02790118e543522a92b00
treec06b83b4e4d29c29926b4e0d2515795e6eef96a6
parent8d628b252961cdf29d758a1c4da43bbe3957cff2
[clang-format] Keep @message together in text protos

Summary:
In C++ code snippets of the form `@field` are common. This makes clang-format
keep them together in text protos, whereas before it would break them.

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/ContinuationIndenter.cpp
lib/Format/TokenAnnotator.cpp
unittests/Format/FormatTestTextProto.cpp