Home
last modified time | relevance | path

Searched refs:NativePath (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DDependencyFile.cpp286 llvm::SmallString<256> NativePath; in PrintFilename() local
287 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp476 SmallString<128> NativePath; in remapPathNames() local
477 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()