Rename FrontendInputs::AllFiles to AllInputs, getAllFiles to getAllInputs, etc.

This commit is contained in:
David Ungar
2018-01-23 12:56:36 -08:00
parent a70ba0a6cd
commit ec2a9573cc
6 changed files with 27 additions and 27 deletions

View File

@@ -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;