summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-01-12 23:55:06 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-01-12 23:55:06 +0000
commit9df536ca7873af6dd9d9ca4aa6cea2872de5c028 (patch)
tree98436360a7b2f7cf3bec8f59834256b6e02d5cfd /include/llvm/Support/PathV1.h
parent25dc2268a5aedcb5da57f065dbdb40d790b11bc0 (diff)
downloadllvm-9df536ca7873af6dd9d9ca4aa6cea2872de5c028.tar.gz
llvm-9df536ca7873af6dd9d9ca4aa6cea2872de5c028.tar.bz2
llvm-9df536ca7873af6dd9d9ca4aa6cea2872de5c028.tar.xz
Support/Path: Deprecate PathV1::IsSymlink and replace all uses with PathV2::is_symlink.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index 0b8a464713..a1c3f6a49a 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -394,7 +394,8 @@ namespace sys {
/// existing symbolic link.
/// @returns true if the pathname references an existing symlink.
/// @brief Determines if the path is a symlink in the file system.
- bool isSymLink() const;
+ LLVM_ATTRIBUTE_DEPRECATED(bool isSymLink() const,
+ LLVM_PATH_DEPRECATED_MSG(fs::is_symlink));
/// This function determines if the path name references a readable file
/// or directory in the file system. This function checks for