projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20594f
)
Revert r118057, this is better fixed in appendSuffix itself.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Tue, 2 Nov 2010 22:18:28 +0000
(22:18 +0000)
committer
Mikhail Glushenkov
<foldr@codedgers.com>
Tue, 2 Nov 2010 22:18:28 +0000
(22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118088
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/SystemUtils.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/SystemUtils.cpp
b/lib/Support/SystemUtils.cpp
index 8d70616421f32412cf3ab8bf32d7bc3a18f59b2f..db61e7569cd4acda179ca30a2d049e812643a9f6 100644
(file)
--- a/
lib/Support/SystemUtils.cpp
+++ b/
lib/Support/SystemUtils.cpp
@@
-47,9
+47,7
@@
sys::Path llvm::FindExecutable(const std::string &ExeName,
if (!Result.isEmpty()) {
Result.appendComponent(ExeName);
- StringRef EXESuffix = sys::Path::GetEXESuffix();
- if (!EXESuffix.empty())
- Result.appendSuffix(EXESuffix);
+ Result.appendSuffix(sys::Path::GetEXESuffix());
}
return Result;