owenca wrote: > @owenca, I actually think that this introduced a regression that was > previously fixed in the nightly snapshot of `clang-format-21`.
It was an incidental "fix" by 91328dbae986dfa93cf2acef0a93361fd5ced66d, which caused a regression that's fixed by this patch. > ``` > $ cat foo.cpp > template <class F, class... Args> > using invoke_result_t = typename std::result_of<F&& (Args &&...)>::type; > $ clang-format-20 foo.cpp > template <class F, class... Args> > using invoke_result_t = typename std::result_of<F && (Args && ...)>::type; > ``` Please open an issue for this. https://github.com/llvm/llvm-project/pull/138633 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits