mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Hack SourceFile::lookupLocalType() to look through local types.
This is only currently exercised by swift-remoteast-test, so do the minimum to ensure that we’re getting cached mangled names, but don’t fret over the linear-time search.
This commit is contained in:
@@ -1052,6 +1052,8 @@ public:
|
||||
virtual void
|
||||
getPrecedenceGroups(SmallVectorImpl<PrecedenceGroupDecl*> &results) const override;
|
||||
|
||||
virtual TypeDecl *lookupLocalType(llvm::StringRef MangledName) const override;
|
||||
|
||||
virtual void
|
||||
getLocalTypeDecls(SmallVectorImpl<TypeDecl*> &results) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user