File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1087,10 +1087,6 @@ class ModuleDecl
10871087 // / Returns the associated clang module if one exists.
10881088 const clang::Module *findUnderlyingClangModule () const ;
10891089
1090- // / Does this module or the underlying clang module defines export_as with
1091- // / a value corresponding to the \p other module?
1092- bool isExportedAs (const ModuleDecl *other) const ;
1093-
10941090 // / Returns a generator with the components of this module's full,
10951091 // / hierarchical name.
10961092 // /
Original file line number Diff line number Diff line change @@ -2649,14 +2649,6 @@ const clang::Module *ModuleDecl::findUnderlyingClangModule() const {
26492649 return nullptr ;
26502650}
26512651
2652- bool ModuleDecl::isExportedAs (const ModuleDecl *other) const {
2653- auto clangModule = findUnderlyingClangModule ();
2654- if (!clangModule)
2655- return false ;
2656-
2657- return other->getRealName ().str () == clangModule->ExportAsModule ;
2658- }
2659-
26602652void ModuleDecl::collectBasicSourceFileInfo (
26612653 llvm::function_ref<void (const BasicSourceFileInfo &)> callback) const {
26622654 for (const FileUnit *fileUnit : getFiles ()) {
You can’t perform that action at this time.
0 commit comments