diff options
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-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. |