Merge pull request #9318 from practicalswift/redundant-types-in-casts

[gardening] Remove redundant repetition of type names (DRY): RepeatedTypeName foo = dyn_cast<RepeatedTypeName>(bar)
This commit is contained in:
Michael Gottesman
2017-05-05 13:37:12 -07:00
committed by GitHub
122 changed files with 406 additions and 406 deletions

View File

@@ -970,7 +970,7 @@ static bool dumpAPI(ModuleDecl *Mod, StringRef OutDir) {
}
for (auto *FU : Mod->getFiles()) {
if (SourceFile *SF = dyn_cast<SourceFile>(FU))
if (auto *SF = dyn_cast<SourceFile>(FU))
if (dumpFile(SF))
return true;
}