Searched refs:NativePath (Results 1 – 2 of 2) sorted by relevance
286 llvm::SmallString<256> NativePath; in PrintFilename() local287 llvm::sys::path::native(Filename.str(), NativePath); in PrintFilename()293 if (NativePath.find_first_of(" #${}^!") != StringRef::npos) in PrintFilename()294 OS << '\"' << NativePath << '\"'; in PrintFilename()296 OS << NativePath; in PrintFilename()300 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) { in PrintFilename()301 if (NativePath[i] == '#') // Handle '#' the broken gcc way. in PrintFilename()303 else if (NativePath[i] == ' ') { // Handle space correctly. in PrintFilename()306 while (j > 0 && NativePath[--j] == '\\') in PrintFilename()308 } else if (NativePath[i] == '$') // $ is escaped by $$. in PrintFilename()[all …]
476 SmallString<128> NativePath; in remapPathNames() local477 sys::path::native(Path, NativePath); in remapPathNames()478 sys::path::remove_dots(NativePath, true); in remapPathNames()479 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()480 NativePath += sys::path::get_separator(); in remapPathNames()481 return NativePath.c_str(); in remapPathNames()