From bfd452ea9b362a0e5d8e2b8d599ad9f4092ce29e Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Wed, 31 Oct 2012 14:39:28 +0000 Subject: [PATCH] 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 --- lib/Driver/Driver.cpp | 3 +-- 1 file changed, 1 insertion(+), 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(); } -- 2.40.0