From 218dc3e2fe54c28b0292a3e89c5ed6563f62ac23 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Tue, 11 Jan 2011 01:21:55 +0000 Subject: 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 --- include/llvm/Support/PathV1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/llvm/Support/PathV1.h') 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. -- cgit v1.2.3