Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Frontend/
H A DDependencyFile.cpp285 llvm::SmallString<256> NativePath; in PrintFilename() local
286 llvm::sys::path::native(Filename.str(), NativePath); in PrintFilename()
292 if (NativePath.find_first_of(" #${}^!") != StringRef::npos) in PrintFilename()
293 OS << '\"' << NativePath << '\"'; in PrintFilename()
295 OS << NativePath; in PrintFilename()
299 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) { in PrintFilename()
300 if (NativePath[i] == '#') // Handle '#' the broken gcc way. in PrintFilename()
302 else if (NativePath[i] == ' ') { // Handle space correctly. in PrintFilename()
305 while (j > 0 && NativePath[--j] == '\\') in PrintFilename()
307 } else if (NativePath[i] == '$') // $ is escaped by $$. in PrintFilename()
[all …]
/llvm-project-15.0.7/clang-tools-extra/modularize/
H A DModuleAssistant.cpp175 llvm::SmallString<256> NativePath, NativePrefix; in addModuleDescription() local
176 llvm::sys::path::native(HeaderFilePath, NativePath); in addModuleDescription()
178 if (NativePath.startswith(NativePrefix)) in addModuleDescription()
179 FilePath = std::string(NativePath.substr(NativePrefix.size() + 1)); in addModuleDescription()
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCodeCoverage.cpp474 SmallString<128> NativePath; in remapPathNames() local
475 sys::path::native(Path, NativePath); in remapPathNames()
476 sys::path::remove_dots(NativePath, true); in remapPathNames()
477 if (!NativePath.empty() && !sys::path::is_separator(NativePath.back())) in remapPathNames()
478 NativePath += sys::path::get_separator(); in remapPathNames()
479 return NativePath.c_str(); in remapPathNames()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp120 llvm::SmallString<256> NativePath = IndexRoot; in RemoteIndexServer() local
121 llvm::sys::path::native(NativePath); in RemoteIndexServer()
123 /*RemoteIndexRoot=*/llvm::StringRef(NativePath), in RemoteIndexServer()