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

Name

Description

path

A path that is transformed to preferred format.

style

The path style to use. "native" means derive from the host.

Created with MrDocs