[llvm-bugs] [Bug 44013] New: attribute in class definition confuses the formatter
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Nov 15 11:07:18 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44013
Bug ID: 44013
Summary: attribute in class definition confuses the formatter
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: rafael at espindo.la
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
With --style=LLVM clang-format formats
struct [[nodiscard]] foo {
foo(foo &&o) {}
};
into
struct [[nodiscard]] foo{foo(foo && o){}};
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191115/a9799734/attachment-0001.html>
More information about the llvm-bugs
mailing list