summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-01-11 01:21:55 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-01-11 01:21:55 +0000
commit218dc3e2fe54c28b0292a3e89c5ed6563f62ac23 (patch)
tree14d22d940fea2720c93383a5f2dbda16488d2053 /include/llvm/Support/PathV1.h
parent121704d738f9de8aaf04b144dcf493130fbfee3d (diff)
downloadllvm-218dc3e2fe54c28b0292a3e89c5ed6563f62ac23.tar.gz
llvm-218dc3e2fe54c28b0292a3e89c5ed6563f62ac23.tar.bz2
llvm-218dc3e2fe54c28b0292a3e89c5ed6563f62ac23.tar.xz
Support/Path: Deprecate PathV1::isDirectory and replace all uses with PathV2::is_directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123209 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 b6470795fd..0b8a464713 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -387,7 +387,8 @@ namespace sys {
/// existing directory.
/// @returns true if the pathname references an existing directory.
/// @brief Determines if the path is a directory in the file system.
- bool isDirectory() const;
+ LLVM_ATTRIBUTE_DEPRECATED(bool isDirectory() const,
+ LLVM_PATH_DEPRECATED_MSG(fs::is_directory));
/// This function determines if the path name references an
/// existing symbolic link.