From 59d775653332880f6e16afb51dc887f8334d79b6 Mon Sep 17 00:00:00 2001 From: Erik Eckstein Date: Thu, 24 Aug 2023 10:35:22 +0200 Subject: [PATCH] ASTContext: temporarily disable an assert to unblock debugging with swift C++ interop rdar://114264253 --- clang/lib/AST/ASTContext.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 8db937103d74a..6075d14dac9a3 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -4665,7 +4665,10 @@ QualType ASTContext::getTypedefType(const TypedefNameDecl *Decl, } if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying) return QualType(Decl->TypeForDecl, 0); - assert(hasSameType(Decl->getUnderlyingType(), Underlying)); + + // Temporarily disabled to unblock debugging with swift C++ interop + // FIXME: fix the underlying problem (rdar://114264253) + // assert(hasSameType(Decl->getUnderlyingType(), Underlying)); llvm::FoldingSetNodeID ID; TypedefType::Profile(ID, Decl, Underlying);