[clang] [Clang][Sema] Don't treat error-recovery dependence as genuine template dependence in ActOnTag (PR #221440)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 21 02:20:27 PDT 2026
================
@@ -653,8 +613,11 @@ features cannot lower the translation-unit ABI level;
available as an identifier (e.g. `struct __make_unsigned`) was seen again
in a token that was lexed and cached before the first occurrence was parsed.
(#GH214128)
-- Fixed a crash when a coroutine keyword appeared inside a mem-initializer on a
- function that is not a constructor. (#GH194298)
+
+- Fixed an assertion failure when explicitly instantiating a nested member
+ through a nested-name-specifier whose template argument was ill-formed. The
+ resulting error-recovery placeholder was being treated as a genuinely
+ dependent name instead of an already-diagnosed error. (#GH220525)
----------------
hokein wrote:
please update the release note to reflect the new code change.
https://github.com/llvm/llvm-project/pull/221440
More information about the cfe-commits
mailing list