diff options
| -rw-r--r-- | clang/lib/Driver/Driver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index d71e731f39c..5c20c23e567 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/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(); } |

