diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-10 02:34:23 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-01-10 02:34:23 +0000 |
commit | 54453f2978c76b3aa71be7bb4e9657c8539f8648 (patch) | |
tree | 007baedd6ba7bd7752feb8443472dd84cdea43cb /include | |
parent | f4afaa81f2d1736a4115a22c96d8188178f11cfc (diff) | |
download | llvm-54453f2978c76b3aa71be7bb4e9657c8539f8648.tar.gz llvm-54453f2978c76b3aa71be7bb4e9657c8539f8648.tar.bz2 llvm-54453f2978c76b3aa71be7bb4e9657c8539f8648.tar.xz |
Support/Path: Deprecate PathV1::exists and replace all uses with PathV2::fs::exists.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PathV1.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 86fdb0c0ac..b6470795fd 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -380,7 +380,8 @@ namespace sys { /// directory. /// @brief Determines if the path is a file or directory in /// the file system. - bool exists() const; + LLVM_ATTRIBUTE_DEPRECATED(bool exists() const, + LLVM_PATH_DEPRECATED_MSG(fs::exists)); /// This function determines if the path name references an /// existing directory. |