See https://bugs.llvm.org/show_bug.cgi?id=45626
void f()
{
(void)static_cast<::std::uint32_t>(1); (void)static_cast< ::std::uint32_t >(1);
}
Running
clang-format -style="{SpacesInAngles: true}" bug.cpp
produces
void f() {
(void)static_cast<::std::uint32_t >(1); (void)static_cast<::std::uint32_t >(1);
}
This revision fixes that behavior
nit: I suppose this newline was not intended.