Searched refs:NativePath (Results 1 – 2 of 2) sorted by relevance
292 llvm::SmallString<256> NativePath; in PrintFilename() local293 llvm::sys::path::native(Filename.str(), NativePath); in PrintFilename()299 if (NativePath.find_first_of(" #${}^!") != StringRef::npos) in PrintFilename()300 OS << '\"' << NativePath << '\"'; in PrintFilename()302 OS << NativePath; in PrintFilename()306 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) { in PrintFilename()307 if (NativePath[i] == '#') // Handle '#' the broken gcc way. in PrintFilename()309 else if (NativePath[i] == ' ') { // Handle space correctly. in PrintFilename()312 while (j > 0 && NativePath[--j] == '\\') in PrintFilename()314 } else if (NativePath[i] == '$') // $ is escaped by $$. in PrintFilename()[all …]
530 SmallString<128> NativePath; in remapPathNames() local531 sys::path::native(Path, NativePath); in remapPathNames()532 sys::path::remove_dots(NativePath, true); in remapPathNames()533 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()534 NativePath += sys::path::get_separator(); in remapPathNames()535 return NativePath.c_str(); in remapPathNames()