ΒΆvoid remove_filename(
SmallVectorImpl<char>& path,
llvm::sys::path::Style style = Style::native)
void remove_filename(
SmallVectorImpl<char>& path,
llvm::sys::path::Style style = Style::native)
Description
Remove the last component from \a path unless it is the root dir. Similar to the POSIX "dirname" utility.
Declared at: llvm/include/llvm/Support/Path.h:134
Parameters
- SmallVectorImpl<char>& path
- A path that is modified to not have a file component.
- llvm::sys::path::Style style = Style::native