@@ -203,8 +203,6 @@ class ModuleDecl : public DeclContext, public TypeDecl {
203203 friend class DirectPrecedenceGroupLookupRequest ;
204204
205205public:
206- LLVM_ATTRIBUTE_DEPRECATED (typedef ArrayRef<Located<Identifier>> AccessPathTy,
207- " use ImportPath types instead" );
208206 // / Convenience struct to keep track of a module along with its access path.
209207 struct alignas (uint64_t ) ImportedModule {
210208 // / The access path from an import: `import Foo.Bar` -> `Foo.Bar`.
@@ -226,16 +224,6 @@ class ModuleDecl : public DeclContext, public TypeDecl {
226224 }
227225 };
228226
229- LLVM_ATTRIBUTE_DEPRECATED (
230- static bool matchesAccessPath (AccessPathTy AccessPath, DeclName Name),
231- "use ImportPath::Access::matches() instead")
232- {
233- assert (AccessPath.size () <= 1 && " can only refer to top-level decls" );
234-
235- return AccessPath.empty ()
236- || DeclName (AccessPath.front ().Item ).matchesRef (Name);
237- }
238-
239227 // / Arbitrarily orders ImportedModule records, for inclusion in sets and such.
240228 class OrderImportedModules {
241229 public:
@@ -757,14 +745,6 @@ class ModuleDecl : public DeclContext, public TypeDecl {
757745 // / imports.
758746 void collectLinkLibraries (LinkLibraryCallback callback) const ;
759747
760- // / Returns true if the two access paths contain the same chain of
761- // / identifiers.
762- // /
763- // / Source locations are ignored here.
764- LLVM_ATTRIBUTE_DEPRECATED (
765- static bool isSameAccessPath (AccessPathTy lhs, AccessPathTy rhs),
766- "use ImportPath::Access::isSameAs() instead");
767-
768748 // / Get the path for the file that this module came from, or an empty
769749 // / string if this is not applicable.
770750 StringRef getModuleFilename () const ;
0 commit comments