Home
last modified time | relevance | path

Searched refs:Dirs (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/Driver/
DWindowsToolChain.cpp297 SmallVector<StringRef, 8> Dirs; in AddClangSystemIncludeArgs() local
298 StringRef(cl_include_dir).split(Dirs, ";"); in AddClangSystemIncludeArgs()
300 for (SmallVectorImpl<StringRef>::iterator I = Dirs.begin(), E = Dirs.end(); in AddClangSystemIncludeArgs()
DTools.cpp107 StringRef Dirs(DirList); in addDirectoryList() local
108 if (Dirs.empty()) // Empty string should not add '.'. in addDirectoryList()
112 while ((Delim = Dirs.find(llvm::sys::EnvPathSeparator)) != StringRef::npos) { in addDirectoryList()
122 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs.substr(0, Delim))); in addDirectoryList()
125 CmdArgs.push_back(Args.MakeArgString(Dirs.substr(0, Delim))); in addDirectoryList()
128 Dirs = Dirs.substr(Delim + 1); in addDirectoryList()
131 if (Dirs.empty()) { // Trailing colon. in addDirectoryList()
140 CmdArgs.push_back(Args.MakeArgString(std::string(ArgName) + Dirs)); in addDirectoryList()
143 CmdArgs.push_back(Args.MakeArgString(Dirs)); in addDirectoryList()
/external/llvm/include/llvm/Support/
DSourceMgr.h77 void setIncludeDirs(const std::vector<std::string> &Dirs) { in setIncludeDirs() argument
78 IncludeDirectories = Dirs; in setIncludeDirs()