Closed
Description
When bumping from clang-format 18.1.8 to 19.1.1 we notice this change in formatting:
$ cat test.cpp
auto x = std::conditional_t<T::value == U::value, T, U>{};
$ clang-format-19 test.cpp
auto x = std::conditional_t < T::value == U::value, T, U > {};
Notice the extra spaces around the <
and >
. This happens with default configuration (no .clang-format
file). This is also happening in main
:
https://godbolt.org/z/9nv3js7qe
Metadata
Metadata
Assignees
Type
Projects
Status
Done