[cfe-commits] r167118 - /cfe/trunk/lib/Driver/Driver.cpp

Simon Atanasyan satanasyan at mips.com
Wed Oct 31 07:39:28 PDT 2012


Author: atanasyan
Date: Wed Oct 31 09:39:28 2012
New Revision: 167118

URL: http://llvm.org/viewvc/llvm-project?rev=167118&view=rev
Log:
Fix if-else braces layout accordingly to the style guide.

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

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=167118&r1=167117&r2=167118&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Wed Oct 31 09:39:28 2012
@@ -1599,8 +1599,7 @@
       P.eraseComponent();
       P.appendComponent(Name);
       if (P.canExecute()) return P.str();
-    }
-    else {
+    } else {
       llvm::sys::Path P(*it + Name);
       if (P.canExecute()) return P.str();
     }





More information about the cfe-commits mailing list