Summary: https://bugs.llvm.org/show_bug.cgi?id=44476 ```template <typename T> [[nodiscard]] int a() { return 1; }``` gets incorrectly formatted to be ```template <typename T>[[nodiscard]] int a() { return 1; }``` This revision ensure there is a space between the template and the attribute Reviewed By: JakeMerdichAMD Subscribers: cfe-commits Tags: #clang, #clang-format Differential Revision: https://reviews.llvm.org/D79905
160 KiB
160 KiB