https://bugs.llvm.org/show_bug.cgi?id=44354
Bug ID: 44354
Summary: No good option for formatting futures
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]
seastar (http://seastar.io/) implements futures is c++. Unfortunately they
don't format nicely with clang-format as the 'then' calls are indented way too
much:
auto fut = foo()
.then([]() {
bar();
})
.then([]() {
zed();
});
instead of
auto fut = foo().then([]() {
bar();
}).then([]() {
zed();
});
--
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