[driver][mips] Fix local variable naming. NFC

llvm-svn: 271110
This commit is contained in:
Simon Atanasyan 2016-05-28 09:44:15 +00:00
parent 4de8e6d283
commit 96d06c6972
1 changed files with 6 additions and 6 deletions

View File

@ -2262,9 +2262,9 @@ static bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple,
TargetTriple.getOS() == llvm::Triple::Linux &&
TargetTriple.getEnvironment() == llvm::Triple::GNU) {
// Select mips-mti-linux-gnu toolchain.
for (auto candidate : {&MtiMipsMultilibsV1, &MtiMipsMultilibsV2}) {
if (candidate->select(Flags, Result.SelectedMultilib)) {
Result.Multilibs = *candidate;
for (auto Candidate : {&MtiMipsMultilibsV1, &MtiMipsMultilibsV2}) {
if (Candidate->select(Flags, Result.SelectedMultilib)) {
Result.Multilibs = *Candidate;
return true;
}
}
@ -2275,9 +2275,9 @@ static bool findMIPSMultilibs(const Driver &D, const llvm::Triple &TargetTriple,
TargetTriple.getOS() == llvm::Triple::Linux &&
TargetTriple.getEnvironment() == llvm::Triple::GNU) {
// Select mips-img-linux-gnu toolchain.
for (auto candidate : {&ImgMultilibsV1, &ImgMultilibsV2}) {
if (candidate->select(Flags, Result.SelectedMultilib)) {
Result.Multilibs = *candidate;
for (auto Candidate : {&ImgMultilibsV1, &ImgMultilibsV2}) {
if (Candidate->select(Flags, Result.SelectedMultilib)) {
Result.Multilibs = *Candidate;
return true;
}
}