[NFC] Remove invisible character in Diagnostic message and tests
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 6 Sep 2022 03:08:42 +0000 (11:08 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 6 Sep 2022 03:08:42 +0000 (11:08 +0800)
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/test/SemaCXX/coroutine-alloc-3.cpp

index 66cf0d8..15a4e2a 100644 (file)
@@ -11273,7 +11273,7 @@ def err_coroutine_unusable_new : Error<
   "'operator new' provided by %0 is not usable with the function signature of %1"
 >;
 def err_coroutine_unfound_nothrow_new : Error <
-  "unable to find '::operator new(size_­t, nothrow_­t)' for %0"
+  "unable to find '::operator new(size_t, nothrow_t)' for %0"
 >;
 } // end of coroutines issue category
 
index 6e47d36..629ac88 100644 (file)
@@ -46,6 +46,6 @@ struct std::coroutine_traits<int, promise_on_alloc_failure_tag> {
   };
 };
 
-extern "C" int f(promise_on_alloc_failure_tag) { // expected-error 1+{{unable to find '::operator new(size_­t, nothrow_­t)' for 'f'}}
+extern "C" int f(promise_on_alloc_failure_tag) { // expected-error 1+{{unable to find '::operator new(size_t, nothrow_t)' for 'f'}}
     co_return;
 }