llvm::sys::path::Style

Path syntax style (native, POSIX, or Windows).

Synopsis

Declared in <llvm/Support/Path.h>

enum class Style : int;

Members

NameDescription
native Host-native path style.
posix POSIX path style.
windows_slash Windows paths with forward slashes.
windows_backslash Windows paths with backslashes.
windows Deprecated alias for windows_backslash.

Non-Member Functions

NameDescription
get_separatorReturn the preferred separator for this platform.
is_style_posixCheck if S uses POSIX path rules.
is_style_windowsCheck if S uses Windows path rules.