diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 14:32:51 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 14:32:51 +0000 |
commit | 55d529fd8a0931999d96829b0e9f0df55d43f85d (patch) | |
tree | 794b2b21fced83377402a869a0ec73723dd421df /include | |
parent | 36782c514ae7c5f9270c317bdea660bdcd86d9d6 (diff) | |
download | llvm-55d529fd8a0931999d96829b0e9f0df55d43f85d.tar.gz llvm-55d529fd8a0931999d96829b0e9f0df55d43f85d.tar.bz2 llvm-55d529fd8a0931999d96829b0e9f0df55d43f85d.tar.xz |
Remove Path::getSuffix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PathV1.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 5ed9c9fd2f..e391d2a1c7 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -200,14 +200,7 @@ namespace sys { /// @brief Determines if the path name is empty (invalid). bool isEmpty() const { return path.empty(); } - /// This function strips off the path and basename(up to and - /// including the last dot) of the file or directory name and - /// returns just the suffix. For example /a/foo.bar would cause - /// this function to return "bar". - /// @returns StringRef containing the suffix of the path - /// @brief Get the suffix of the path - LLVM_ATTRIBUTE_DEPRECATED(StringRef getSuffix() const, - LLVM_PATH_DEPRECATED_MSG(path::extension)); + /// Obtain a 'C' string for the path name. /// @returns a 'C' string containing the path name. |