swift
046c51eb - Drop the requirement that nested types be clang::TypeDecls

Commit
5 years ago
Drop the requirement that nested types be clang::TypeDecls 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.
Author
Committer
Parents
Loading