Skip to content

Commit 69e88b1

Browse files
committed
Removing unused functions.
1 parent 9a5a83a commit 69e88b1

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

include/swift/AST/ModuleDependencies.h

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,6 @@ class SwiftInterfaceModuleDependenciesStorage
318318
void updateCommandLine(const std::vector<std::string> &newCommandLine) {
319319
textualModuleDetails.buildCommandLine = newCommandLine;
320320
}
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-
}
329321
};
330322

331323
/// Describes the dependencies of a Swift module
@@ -879,20 +871,6 @@ class ModuleDependencyInfo {
879871
llvm_unreachable("Unexpected type");
880872
}
881873

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-
896874
/// Whether explicit input paths of all the module dependencies
897875
/// have been specified on the command-line recipe for this module.
898876
bool isFinalized() const { return storage->finalized; }

0 commit comments

Comments
 (0)