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
1087
1087
// / Returns the associated clang module if one exists.
1088
1088
const clang::Module *findUnderlyingClangModule () const ;
1089
1089
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
-
1094
1090
// / Returns a generator with the components of this module's full,
1095
1091
// / hierarchical name.
1096
1092
// /
Original file line number Diff line number Diff line change @@ -2649,14 +2649,6 @@ const clang::Module *ModuleDecl::findUnderlyingClangModule() const {
2649
2649
return nullptr ;
2650
2650
}
2651
2651
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
-
2660
2652
void ModuleDecl::collectBasicSourceFileInfo (
2661
2653
llvm::function_ref<void (const BasicSourceFileInfo &)> callback) const {
2662
2654
for (const FileUnit *fileUnit : getFiles ()) {
You can’t perform that action at this time.
0 commit comments