]> granicus.if.org Git - clang/commitdiff
[driver][mips] Fix local variable naming. NFC
authorSimon Atanasyan <simon@atanasyan.com>
Sat, 28 May 2016 09:44:15 +0000 (09:44 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Sat, 28 May 2016 09:44:15 +0000 (09:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271110 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/ToolChains.cpp

index f6e9b33a2c2407f2312953b110d6fed76755d340..a26ca087ca6f749bac20d78a1c6a74c3f96ce118 100644 (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;
       }
     }