mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Support/PathV2: Add remove_filename implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120513 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -140,7 +140,7 @@ error_code make_absolute(SmallVectorImpl<char> &path);
|
||||
/// @brief Remove the last component from \a path if it exists.
|
||||
///
|
||||
/// directory/filename.cpp => directory/
|
||||
/// directory/ => directory/
|
||||
/// directory/ => directory
|
||||
///
|
||||
/// @param path A path that is modified to not have a file component.
|
||||
/// @returns errc::success if \a path's file name has been removed (or there was
|
||||
|
||||
Reference in New Issue
Block a user