Searched refs:NativePath (Results 1 – 2 of 2) 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 …]
502 SmallString<128> NativePath; in remapPathNames() local503 sys::path::native(Path, NativePath); in remapPathNames()504 sys::path::remove_dots(NativePath, true); in remapPathNames()505 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()506 NativePath += sys::path::get_separator(); in remapPathNames()507 return NativePath.c_str(); in remapPathNames()