summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 01:14:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-14 01:14:36 +0000
commit357b5718411c4a15427d69590651fb8103ae7ba9 (patch)
tree9462425a140bd013363e928dc8b3bdfacd9ac783 /lib/Support
parent358f4fd9ee078b3c79597fc688855fb48bc1f356 (diff)
downloadllvm-357b5718411c4a15427d69590651fb8103ae7ba9.tar.gz
llvm-357b5718411c4a15427d69590651fb8103ae7ba9.tar.bz2
llvm-357b5718411c4a15427d69590651fb8103ae7ba9.tar.xz
Remove unimplemented function prototypes from PathV2. They can be readded when someone cares enough.
Patch by Aaron Ballman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/PathV2.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp
index 896c94c071..c2880caa49 100644
--- a/lib/Support/PathV2.cpp
+++ b/lib/Support/PathV2.cpp
@@ -682,14 +682,12 @@ bool is_other(file_status status) {
!is_symlink(status);
}
-void directory_entry::replace_filename(const Twine &filename, file_status st,
- file_status symlink_st) {
+void directory_entry::replace_filename(const Twine &filename, file_status st) {
SmallString<128> path(Path.begin(), Path.end());
path::remove_filename(path);
path::append(path, filename);
Path = path.str();
Status = st;
- SymlinkStatus = symlink_st;
}
error_code has_magic(const Twine &path, const Twine &magic, bool &result) {