From 539d8dac8f817d6896c9dc6a5567655bef8aed6b Mon Sep 17 00:00:00 2001 From: Robert Widmann Date: Fri, 20 Dec 2019 12:17:17 -0800 Subject: [PATCH] Remove re-entrancy assertion This was just to confirm that the re-entrancy problem still exists on the bots. There's something OS-dependent (probably the SDKs) that causes this to only reproduce on 10.14.5 and not 10.15. rdar://58116531 --- lib/AST/NameLookup.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/AST/NameLookup.cpp b/lib/AST/NameLookup.cpp index 193f6c5323f5d..861ed22541bbc 100644 --- a/lib/AST/NameLookup.cpp +++ b/lib/AST/NameLookup.cpp @@ -1135,8 +1135,6 @@ populateLookupTableEntryFromLazyIDCLoader(ASTContext &ctx, MemberLookupTable &LookupTable, DeclBaseName name, IterableDeclContext *IDC) { - assert(!IDC->isLoadingLazyMembers() && - "Re-entrant member loading is not supported!"); IDC->setLoadingLazyMembers(true); auto ci = ctx.getOrCreateLazyIterableContextData(IDC, /*lazyLoader=*/nullptr);