Skip to content

Conversation

CodaFi
Copy link
Contributor

@CodaFi CodaFi commented Dec 5, 2019

Cherry-pick this over.

The nested types table contains more than just nested typedefs and aggregate decls, it also contains classes that we've imported under nested names.  We were previously falling back to direct lookup to resolve (cross) references to these entities.  Instead, relax the preconditions for searching the table.

This breaks a few cycles involving re-entrant calls to lookupDirect/lookupQualified through the ClangImporter.
@CodaFi
Copy link
Contributor Author

CodaFi commented Dec 5, 2019

@swift-ci please smoke test and merge

@swift-ci swift-ci merged commit ed1f6c2 into swiftlang:swift-incremental-dependency-tracking Dec 5, 2019
@CodaFi CodaFi deleted the cache-la-poudre branch December 7, 2019 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants