llvm::sys::path::make_preferred

For Windows path styles, convert path to use the preferred path separators. For other styles, do nothing.

Synopsis

Declared in <llvm/Support/Path.h>

void
make_preferred(
    SmallVectorImpl<char>& path,
    Style style = Style::native);

Parameters

NameDescription
pathA path that is transformed to preferred format.