@@ -318,14 +318,6 @@ class SwiftInterfaceModuleDependenciesStorage
318
318
void updateCommandLine (const std::vector<std::string> &newCommandLine) {
319
319
textualModuleDetails.buildCommandLine = newCommandLine;
320
320
}
321
-
322
- void updateModuleOutputPath (const std::string &newPath) {
323
- const_cast <std::string &>(moduleOutputPath) = newPath;
324
- }
325
-
326
- void updateContextHash (const std::string &newContextHash) {
327
- const_cast <std::string &>(contextHash) = newContextHash;
328
- }
329
321
};
330
322
331
323
// / Describes the dependencies of a Swift module
@@ -879,20 +871,6 @@ class ModuleDependencyInfo {
879
871
llvm_unreachable (" Unexpected type" );
880
872
}
881
873
882
- void updateModuleOutputPath (const std::string &newPath) {
883
- if (isSwiftInterfaceModule ())
884
- return cast<SwiftInterfaceModuleDependenciesStorage>(storage.get ())
885
- ->updateModuleOutputPath (newPath);
886
- llvm_unreachable (" Unexpected type" );
887
- }
888
-
889
- void updateContextHash (const std::string &newContextHash) {
890
- if (isSwiftInterfaceModule ())
891
- return cast<SwiftInterfaceModuleDependenciesStorage>(storage.get ())
892
- ->updateContextHash (newContextHash);
893
- llvm_unreachable (" Unexpected type" );
894
- }
895
-
896
874
// / Whether explicit input paths of all the module dependencies
897
875
// / have been specified on the command-line recipe for this module.
898
876
bool isFinalized () const { return storage->finalized ; }
0 commit comments