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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
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._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs