diff options
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Path.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Support/Path.cpp b/lib/Support/Path.cpp index 394e013b8b..c3353fd0e2 100644 --- a/lib/Support/Path.cpp +++ b/lib/Support/Path.cpp @@ -195,19 +195,12 @@ StringRef Path::GetDLLSuffix() { return &(LTDL_SHLIB_EXT[1]); } -bool +void Path::appendSuffix(StringRef suffix) { if (!suffix.empty()) { - std::string save(path); path.append("."); path.append(suffix); - if (!isValid()) { - path = save; - return false; - } } - - return true; } bool |