https://bugs.llvm.org/show_bug.cgi?id=46087
Bug ID: 46087
Summary: AllowShortBlocksOnASingleLine fails on ForEachMacros
Product: clang
Version: 10.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Formatter
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
.clang-format:
ForEachMacros: ['rng']
AllowShortBlocksOnASingleLine: Never
Before:
rng (i, 0, 10) {
std::cout << i;
}
After:
rng (i, 0, 10) { std::cout << i; }
Expect:
rng (i, 0, 10) {
std::cout << i;
}
--
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