-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorclang-formatconfirmedVerified by a second partyVerified by a second partyregressionrelease:backportrelease:merged
Milestone
Description
The following source
namespace A {
template <int N> struct Foo<char[N]> {
void foo() { std::cout << "Bar"; }
}; // namespace A
is formatted as:
namespace A {
template <int N> struct Foo<char[N]>{void foo(){std::cout << "Bar";
}
}
; // namespace A
using clang-format version 15.0.0 (https://github.com/llvm/llvm-project.git ee4ba9f
82397c60e17f14823eb22b2e5831c7)
Using the following .clang-format file
BasedOnStyle: LLVM
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorclang-formatconfirmedVerified by a second partyVerified by a second partyregressionrelease:backportrelease:merged