Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDDependencyFile.cpp279 llvm::SmallString<256> NativePath; in PrintFilename() local
280 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 …]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-cov/
HDCodeCoverage.cpp394 SmallString<128> NativePath; in remapPathNames() local
395 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()