diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td index f2c4eb51b443d..b45ec6bbb8d37 100644 --- a/clang/include/clang/Basic/AttrDocs.td +++ b/clang/include/clang/Basic/AttrDocs.td @@ -7547,7 +7547,7 @@ For example, Task foo() { return increment(1); } // Error. foo is not a coroutine. // Fine for a coroutine wrapper to return a CRT. - Task [[clang::coro_wrapper]] foo() { return increment(1); } + [[clang::coro_wrapper]] Task foo() { return increment(1); } void bar() { // Invalid. This intantiates a function which returns a CRT but is not marked as