aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <satanasyan@mips.com>2012-10-31 14:39:28 +0000
committerSimon Atanasyan <satanasyan@mips.com>2012-10-31 14:39:28 +0000
commitbfd452ea9b362a0e5d8e2b8d599ad9f4092ce29e (patch)
treebf01659a260fa8793fa7462206b91e6cc5459abc /lib/Driver/Driver.cpp
parente01575447635fae1365fc94a8dbb82b31e86ab09 (diff)
Fix if-else braces layout accordingly to the style guide.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167118 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index d71e731f39..5c20c23e56 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -1599,8 +1599,7 @@ std::string Driver::GetProgramPath(const char *Name,
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();
}