I'm not sure what's going on and how to accurately describe it. Here's the source code
template <typename ...Args>
void foo(Args &&...args)
{
bar(std::forward<Args>(args)...);
}
My friend with clang-format 10 on Ubuntu generated this
template <typename ... Args>
void foo(Args &&... args)
{
bar(std::forward<Args>(args)...);
}
But my clang-format 11 on Arch with the same .clang-format file generated the following:
template <typename ...Args>
void foo(Args &&...args)
// ^^^^ Notice the missing space after ...
{
bar(std::forward<Args>(args)...);
}
I didn't find suspicious changes in clang-fotmat 11's changelog. What am I missing?