diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 00:19:10 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-18 00:19:10 +0000 |
commit | b3127bb06a9b2a95a587bbe555c2ea0d83e4eaba (patch) | |
tree | 1416ab3c1e06b814707967b874a70c2021984a6e /include/llvm/Support/PathV1.h | |
parent | 57e9104318a6b3b37f4c590b9229991600e1b0dc (diff) | |
download | llvm-b3127bb06a9b2a95a587bbe555c2ea0d83e4eaba.tar.gz llvm-b3127bb06a9b2a95a587bbe555c2ea0d83e4eaba.tar.bz2 llvm-b3127bb06a9b2a95a587bbe555c2ea0d83e4eaba.tar.xz |
Support/PathV1: Deprecate getLast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122116 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r-- | include/llvm/Support/PathV1.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 260deeb4a8..818b32964e 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -263,7 +263,9 @@ namespace sys { /// path name is returned (i.e. same as toString). /// @returns StringRef containing the last component of the path name. /// @brief Returns the last component of the path name. - StringRef getLast() const; + LLVM_ATTRIBUTE_DEPRECATED( + StringRef getLast() const, + LLVMV_PATH_DEPRECATED_MSG); /// This function strips off the path and suffix of the file or directory /// name and returns just the basename. For example /a/foo.bar would cause |