Replaces backslashes with slashes if Windows.
Declared in <llvm/Support/Path.h>
std::string
convert_to_slash(
StringRef path,
Style style = Style::native);
The result of replacing backslashes with forward slashes if Windows. On Unix, this function is a no-op because backslashes are valid path chracters.
| Name | Description |
|---|---|
| path | processed path |
| style | The path style to use. "native" means derive from the host. |