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

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 9 12:55:00 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'?}}
----------------
efriedma-quic wrote:

Why are we losing typo correction here?

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


More information about the cfe-commits mailing list