[clang] Remove delayed typo expressions (PR #143423)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 10 04:30:52 PDT 2025


================
@@ -207,7 +207,7 @@ namespace PR15045 {
 
     // Show that recovery has happened by also triggering typo correction
     e->Func();  // expected-error {{member reference type 'bar' is not a pointer; did you mean to use '.'?}} \
-                // expected-error {{no member named 'Func' in 'PR15045::bar'; did you mean 'func'?}}
----------------
AaronBallman wrote:

It's one of the cases where we were relying on delayed typo correction for the typo; not certain why though. We lost a few such diagnostics that we'll want to recover someday.

https://github.com/llvm/llvm-project/pull/143423


More information about the cfe-commits mailing list