ΒΆbool remove_dots(
SmallVectorImpl<char>& path,
bool remove_dot_dot = false,
llvm::sys::path::Style style = Style::native)
bool remove_dots(
SmallVectorImpl<char>& path,
bool remove_dot_dot = false,
llvm::sys::path::Style style = Style::native)
Description
In-place remove any './' and optionally '../' components from a path.
Declared at: llvm/include/llvm/Support/Path.h:468
Parameters
- SmallVectorImpl<char>& path
- processed path
- bool remove_dot_dot = false
- specify if '../' (except for leading "../") should be removed
- llvm::sys::path::Style style = Style::native