Does this diagnostic have test coverage, could it be expanded to check the spelling here? (mostly as a motivation to ensure this diagnostic is actually tested... )
On Mon, Nov 20, 2023 at 3:04 AM via cfe-commits <cfe-commits@lists.llvm.org> wrote: > > Author: Utkarsh Saxena > Date: 2023-11-20T12:04:32+01:00 > New Revision: 661a73ff712c54d05042eb37d536be4bade307b4 > > URL: > https://github.com/llvm/llvm-project/commit/661a73ff712c54d05042eb37d536be4bade307b4 > DIFF: > https://github.com/llvm/llvm-project/commit/661a73ff712c54d05042eb37d536be4bade307b4.diff > > LOG: Fix typo in DiagnosticSemaKinds.td > > s/makred/marked > > Added: > > > Modified: > clang/include/clang/Basic/DiagnosticSemaKinds.td > > Removed: > > > > > ################################################################################ > diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td > b/clang/include/clang/Basic/DiagnosticSemaKinds.td > index 1a6c4d80ccb6ac2..9a7dafa4a298273 100644 > --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td > +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td > @@ -11594,7 +11594,7 @@ def err_coro_invalid_addr_of_label : Error< > "the GNU address of label extension is not allowed in coroutines." > >; > def err_coroutine_return_type : Error< > - "function returns a type %0 makred with [[clang::coro_return_type]] but > is neither a coroutine nor a coroutine wrapper; " > + "function returns a type %0 marked with [[clang::coro_return_type]] but > is neither a coroutine nor a coroutine wrapper; " > "non-coroutines should be marked with [[clang::coro_wrapper]] to allow > returning coroutine return type" > >; > } // end of coroutines issue category > > > > _______________________________________________ > cfe-commits mailing list > cfe-commits@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits