Skip to content

Commit ccffa21

Browse files
author
git apple-llvm automerger
committed
Merge commit 'e2b11c251e5e' from swift/release/5.9 into stable/20221013
2 parents fcc3517 + e2b11c2 commit ccffa21

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/AST/ASTContext.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4612,7 +4612,8 @@ QualType ASTContext::getInjectedClassNameType(CXXRecordDecl *Decl,
46124612
} else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) {
46134613
assert(PrevDecl->TypeForDecl && "previous declaration has no type");
46144614
Decl->TypeForDecl = PrevDecl->TypeForDecl;
4615-
assert(isa<InjectedClassNameType>(Decl->TypeForDecl));
4615+
// FIXME: rdar://109876539
4616+
// assert(isa<InjectedClassNameType>(Decl->TypeForDecl));
46164617
} else {
46174618
Type *newType =
46184619
new (*this, TypeAlignment) InjectedClassNameType(Decl, TST);

0 commit comments

Comments
 (0)