Closed
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