diff options
author | Simon Atanasyan <satanasyan@mips.com> | 2012-10-31 14:39:28 +0000 |
---|---|---|
committer | Simon Atanasyan <satanasyan@mips.com> | 2012-10-31 14:39:28 +0000 |
commit | bfd452ea9b362a0e5d8e2b8d599ad9f4092ce29e (patch) | |
tree | bf01659a260fa8793fa7462206b91e6cc5459abc /lib/Driver/Driver.cpp | |
parent | e01575447635fae1365fc94a8dbb82b31e86ab09 (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.cpp | 3 |
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(); } |