[PATCH] D68072: Reference qualifiers in member templates causing extra indentation.
Andreas Wass via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 25 23:33:51 PDT 2019
AndWass created this revision.
AndWass added reviewers: klimek, owenpan, krasimir, timwoj.
AndWass added a project: clang-format.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
The following code
struct f {
template <class T>
void bar() && noexcept {}
};
will be formatted to the following with LLVM style, and
`AlwaysBreakTemplateDeclarations: Yes`
struct f {
template <class T>
void bar() && noexcept {}
};
The indentation of the `void bar()` line is wrong.
Repository:
rC Clang
https://reviews.llvm.org/D68072
Files:
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68072.221889.patch
Type: text/x-patch
Size: 4199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190926/6cac71b8/attachment.bin>
More information about the cfe-commits
mailing list