mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Refactor InputFile's Accessors
This commit is contained in:
@@ -179,7 +179,7 @@ bool ModuleInterfaceBuilder::buildSwiftModuleInternal(
|
||||
bool isTypeChecking =
|
||||
(FEOpts.RequestedAction == FrontendOptions::ActionType::Typecheck);
|
||||
const auto &InputInfo = FEOpts.InputsAndOutputs.firstInput();
|
||||
StringRef InPath = InputInfo.file();
|
||||
StringRef InPath = InputInfo.getFileName();
|
||||
const auto &OutputInfo =
|
||||
InputInfo.getPrimarySpecificPaths().SupplementaryOutputs;
|
||||
StringRef OutPath = OutputInfo.ModuleOutputPath;
|
||||
|
||||
Reference in New Issue
Block a user