Lines Matching defs:NativePath
318 llvm::SmallString<256> NativePath;
319 llvm::sys::path::native(Filename.str(), NativePath);
325 if (NativePath.find_first_of(" #${}^!") != StringRef::npos)
326 OS << '\"' << NativePath << '\"';
328 OS << NativePath;
332 for (unsigned i = 0, e = NativePath.size(); i != e; ++i) {
333 if (NativePath[i] == '#') // Handle '#' the broken gcc way.
335 else if (NativePath[i] == ' ') { // Handle space correctly.
338 while (j > 0 && NativePath[--j] == '\\')
340 } else if (NativePath[i] == '$') // $ is escaped by $$.
342 OS << NativePath[i];