File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -4287,19 +4287,11 @@ AncestryOptions ClassDecl::checkAncestry() const {
42874287AncestryFlags
42884288ClassAncestryFlagsRequest::evaluate (Evaluator &evaluator,
42894289 ClassDecl *value) const {
4290- llvm::SmallPtrSet<const ClassDecl *, 8 > visited;
4291-
42924290 AncestryOptions result;
42934291 const ClassDecl *CD = value;
42944292 auto *M = value->getParentModule ();
42954293
42964294 do {
4297- // If we hit circularity, we will diagnose at some point in typeCheckDecl().
4298- // However we have to explicitly guard against that here because we get
4299- // called as part of the interface type request.
4300- if (!visited.insert (CD).second )
4301- break ;
4302-
43034295 if (CD->isGenericContext ())
43044296 result |= AncestryFlags::Generic;
43054297
You can’t perform that action at this time.
0 commit comments