mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename FrontendInputs::AllFiles to AllInputs, getAllFiles to getAllInputs, etc.
This commit is contained in:
@@ -427,7 +427,7 @@ resolveSymbolicLinksInInputs(FrontendInputs &inputs,
|
||||
// FIXME: The frontend should be dealing with symlinks, maybe similar to
|
||||
// clang's FileManager ?
|
||||
FrontendInputs replacementInputs;
|
||||
for (const InputFile &input : inputs.getAllFiles()) {
|
||||
for (const InputFile &input : inputs.getAllInputs()) {
|
||||
std::string newFilename =
|
||||
SwiftLangSupport::resolvePathSymlinks(input.file());
|
||||
bool newIsPrimary = input.isPrimary() ||
|
||||
@@ -709,7 +709,7 @@ bool ASTProducer::shouldRebuild(SwiftASTManager::Implementation &MgrImpl,
|
||||
InputStamps.reserve(
|
||||
Invok.Opts.Invok.getFrontendOptions().Inputs.inputCount());
|
||||
for (const auto &input :
|
||||
Invok.Opts.Invok.getFrontendOptions().Inputs.getAllFiles()) {
|
||||
Invok.Opts.Invok.getFrontendOptions().Inputs.getAllInputs()) {
|
||||
StringRef File = input.file();
|
||||
bool FoundSnapshot = false;
|
||||
for (auto &Snap : Snapshots) {
|
||||
@@ -896,7 +896,7 @@ void ASTProducer::findSnapshotAndOpenFiles(
|
||||
SmallVectorImpl<FileContent> &Contents, std::string &Error) const {
|
||||
const InvocationOptions &Opts = InvokRef->Impl.Opts;
|
||||
for (const auto &input :
|
||||
Opts.Invok.getFrontendOptions().Inputs.getAllFiles()) {
|
||||
Opts.Invok.getFrontendOptions().Inputs.getAllInputs()) {
|
||||
StringRef File = input.file();
|
||||
bool IsPrimary = input.isPrimary();
|
||||
bool FoundSnapshot = false;
|
||||
|
||||
Reference in New Issue
Block a user