Fix ReferencedNameTracker in preparation for batch mode.

This commit is contained in:
David Ungar
2018-02-10 21:08:58 -08:00
parent e7ba87f613
commit 488db9fb9b
14 changed files with 113 additions and 114 deletions

View File

@@ -397,13 +397,13 @@ bool FrontendInputsAndOutputs::hasDependencyTrackerPath() const {
hasLoadedModuleTracePath();
}
PrimarySpecificPaths &
FrontendInputsAndOutputs::getPrimarySpecificPathsForAtMostOnePrimary() {
PrimarySpecificPaths
FrontendInputsAndOutputs::getPrimarySpecificPathsForAtMostOnePrimary() const {
return PrimarySpecificPathsForAtMostOnePrimary;
}
PrimarySpecificPaths &
PrimarySpecificPaths
FrontendInputsAndOutputs::getPrimarySpecificPathsForPrimary(
StringRef filename) {
StringRef filename) const {
return getPrimarySpecificPathsForAtMostOnePrimary(); // just a stub for now
}