Skip to content

Commit 61abf41

Browse files
Merge pull request #7308 from eeckstein/disable-astcontext-assert
ASTContext: temporarily disable an assert to unblock debugging with swift C++ interop
2 parents 843dcf6 + 59d7756 commit 61abf41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clang/lib/AST/ASTContext.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4665,7 +4665,10 @@ QualType ASTContext::getTypedefType(const TypedefNameDecl *Decl,
46654665
}
46664666
if (Underlying.isNull() || Decl->getUnderlyingType() == Underlying)
46674667
return QualType(Decl->TypeForDecl, 0);
4668-
assert(hasSameType(Decl->getUnderlyingType(), Underlying));
4668+
4669+
// Temporarily disabled to unblock debugging with swift C++ interop
4670+
// FIXME: fix the underlying problem (rdar://114264253)
4671+
// assert(hasSameType(Decl->getUnderlyingType(), Underlying));
46694672

46704673
llvm::FoldingSetNodeID ID;
46714674
TypedefType::Profile(ID, Decl, Underlying);

0 commit comments

Comments
 (0)