Home
last modified time | relevance | path

Searched refs:DriverArgs (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Driver/
DCrossWindowsToolChain.cpp51 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
56 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
59 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs()
60 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
63 addSystemInclude(DriverArgs, CC1Args, ResourceDir); in AddClangSystemIncludeArgs()
65 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
69 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
74 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
75 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()
78 switch (GetCXXStdlibType(DriverArgs)) { in AddClangCXXStdlibIncludeArgs()
[all …]
DMSVCToolChain.cpp421 void MSVCToolChain::AddSystemIncludeWithSubfolder(const ArgList &DriverArgs, in AddSystemIncludeWithSubfolder() argument
427 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder()
430 void MSVCToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
432 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
435 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
438 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
441 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
450 addSystemInclude(DriverArgs, CC1Args, Dir); in AddClangSystemIncludeArgs()
460 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, VSDir, "VC\\include"); in AddClangSystemIncludeArgs()
466 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
[all …]
DToolChains.cpp2082 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
2093 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
2222 void Hexagon_TC::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
2226 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangSystemIncludeArgs()
2227 DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
2231 std::string GnuDir = Hexagon_TC::GetGnuDir(D.InstalledDir, DriverArgs); in AddClangSystemIncludeArgs()
2233 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include"); in AddClangSystemIncludeArgs()
2234 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include-fixed"); in AddClangSystemIncludeArgs()
2235 addExternCSystemInclude(DriverArgs, CC1Args, GnuDir + "/hexagon/include"); in AddClangSystemIncludeArgs()
2238 void Hexagon_TC::AddClangCXXStdlibIncludeArgs(const ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument
[all …]
DToolChains.h510 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
528 const llvm::opt::ArgList &DriverArgs,
580 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
604 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
625 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
666 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
669 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
686 const llvm::opt::ArgList &DriverArgs,
704 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
707 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
[all …]
DToolChain.cpp342 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
347 void ToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
384 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude() argument
388 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude()
399 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude() argument
403 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude()
406 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists() argument
410 addExternCSystemInclude(DriverArgs, CC1Args, Path); in addExternCSystemIncludeIfExists()
414 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes() argument
420 CC1Args.push_back(DriverArgs.MakeArgString(*I)); in addSystemIncludes()
[all …]
/external/clang/include/clang/Driver/
DToolChain.h101 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs,
104 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs,
108 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs,
111 static void addSystemIncludes(const llvm::opt::ArgList &DriverArgs,
306 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
310 virtual void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
328 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,