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

Simon Atanasyan via cfe-commits cfe-commits at lists.llvm.org
Sat May 28 02:44:15 PDT 2016


Author: atanasyan
Date: Sat May 28 04:44:15 2016
New Revision: 271110

URL: http://llvm.org/viewvc/llvm-project?rev=271110&view=rev
Log:
[driver][mips] Fix local variable naming. NFC

Modified:
    cfe/trunk/lib/Driver/ToolChains.cpp

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=271110&r1=271109&r2=271110&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Sat May 28 04:44:15 2016
@@ -2262,9 +2262,9 @@ static bool findMIPSMultilibs(const Driv
       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 Driv
       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;
       }
     }




More information about the cfe-commits mailing list