Searched refs:NativePath (Results 1 – 2 of 2) sorted by relevance
279 llvm::SmallString<256> NativePath; in PrintFilename() local280 llvm::sys::path::native(Filename.str(), NativePath); in PrintFilename()286 if (NativePath.find_first_of(" #${}^!") != StringRef::npos) in PrintFilename()287 OS << '\"' << NativePath << '\"'; in PrintFilename()289 OS << NativePath; in PrintFilename()293 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) { in PrintFilename()294 if (NativePath[i] == '#') // Handle '#' the broken gcc way. in PrintFilename()296 else if (NativePath[i] == ' ') { // Handle space correctly. in PrintFilename()299 while (j > 0 && NativePath[--j] == '\\') in PrintFilename()301 } else if (NativePath[i] == '$') // $ is escaped by $$. in PrintFilename()[all …]
394 SmallString<128> NativePath; in remapPathNames() local395 sys::path::native(Path, NativePath); in remapPathNames()396 if (!sys::path::is_separator(NativePath.back())) in remapPathNames()397 NativePath += sys::path::get_separator(); in remapPathNames()398 return NativePath.c_str(); in remapPathNames()