summaryrefslogtreecommitdiff
path: root/include/llvm/Support/PathV1.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-11 19:25:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-11 19:25:17 +0000
commitaab313f80bc447ecd3a6073014243b108bac6855 (patch)
tree59d7d9acafcd854265856f972853f3f460e93442 /include/llvm/Support/PathV1.h
parent189c27e871763efac38c65a9786127af8d5b92b8 (diff)
downloadllvm-aab313f80bc447ecd3a6073014243b108bac6855.tar.gz
llvm-aab313f80bc447ecd3a6073014243b108bac6855.tar.bz2
llvm-aab313f80bc447ecd3a6073014243b108bac6855.tar.xz
Remove Path::getLast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/PathV1.h')
-rw-r--r--include/llvm/Support/PathV1.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h
index e5a3c76458..18a6e9a142 100644
--- a/include/llvm/Support/PathV1.h
+++ b/include/llvm/Support/PathV1.h
@@ -200,16 +200,6 @@ namespace sys {
/// @brief Determines if the path name is empty (invalid).
bool isEmpty() const { return path.empty(); }
- /// This function returns the last component of the path name. The last
- /// component is the file or directory name occurring after the last
- /// directory separator. If no directory separator is present, the entire
- /// 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.
- LLVM_ATTRIBUTE_DEPRECATED(
- StringRef getLast() const,
- LLVM_PATH_DEPRECATED_MSG(path::filename));
-
/// 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
/// this function to return "foo".