ΒΆinline void make_preferred(
SmallVectorImpl<char>& path,
llvm::sys::path::Style style = Style::native)
inline void make_preferred(
SmallVectorImpl<char>& path,
llvm::sys::path::Style style = Style::native)
Description
For Windows path styles, convert path to use the preferred path separators. For other styles, do nothing.
Declared at: llvm/include/llvm/Support/Path.h:269
Parameters
- SmallVectorImpl<char>& path
- A path that is transformed to preferred format.
- llvm::sys::path::Style style = Style::native