Searched refs:NativePath (Results 1 – 3 of 3) sorted by relevance
318 llvm::SmallString<256> NativePath; in PrintFilename() local319 llvm::sys::path::native(Filename.str(), NativePath); in PrintFilename()325 if (NativePath.find_first_of(" #${}^!") != StringRef::npos) in PrintFilename()326 OS << '\"' << NativePath << '\"'; in PrintFilename()328 OS << NativePath; in PrintFilename()332 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) { in PrintFilename()333 if (NativePath[i] == '#') // Handle '#' the broken gcc way. in PrintFilename()335 else if (NativePath[i] == ' ') { // Handle space correctly. in PrintFilename()338 while (j > 0 && NativePath[--j] == '\\') in PrintFilename()340 } else if (NativePath[i] == '$') // $ is escaped by $$. in PrintFilename()[all …]
504 SmallString<128> NativePath; in remapPathNames() local505 sys::path::native(Path, NativePath); in remapPathNames()506 sys::path::remove_dots(NativePath, true); in remapPathNames()507 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()508 NativePath += sys::path::get_separator(); in remapPathNames()509 return NativePath.c_str(); in remapPathNames()
1378 SmallString<128> NativePath;1379 llvm::sys::path::native(path, NativePath, path::Style::windows_backslash);1382 std::error_code EC = widenPath(NativePath, Path16);