[clang] [clang] fix(85447): clang 18.1.0 crashes in clang::ASTContext::getTypeInfoImpl (PR #89850)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 1 06:31:25 PDT 2024


================
@@ -630,6 +630,7 @@ Bug Fixes to C++ Support
 - Fix a bug on template partial specialization with issue on deduction of nontype template parameter
   whose type is `decltype(auto)`. Fixes (#GH68885).
 - Clang now correctly treats the noexcept-specifier of a friend function to be a complete-class context.
+- Fix crash caused by missing invocation of ``setInvalidDecl()`` for invalid ``Anon`` declarations. (#GH85447)
----------------
cor3ntin wrote:

Maybe "Fix an assertion failure when parsing an invalid members of an anonymous class" (the changelog is user facing)

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


More information about the cfe-commits mailing list