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

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 9 12:55:01 PDT 2025


================
@@ -58,10 +58,8 @@ struct Base {
 };
 
 struct Derived final : Base {
-  virtual ~Derived() = defaul; // #default
+  virtual ~Derived() = defaul; // expected-error {{use of undeclared identifier 'defaul'}}
----------------
efriedma-quic wrote:

I would sort of expect us to try to do typo correction here: we know we're expecting one of a few keywords.  Maybe worth filing a bug,

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


More information about the cfe-commits mailing list