Home
last modified time | relevance | path

Searched refs:DriverArgs (Results 1 – 7 of 7) 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 …]
DMinGWToolChain.cpp184 void MinGW::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
186 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
189 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
192 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs()
195 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
198 if (GetRuntimeLibType(DriverArgs) == ToolChain::RLT_Libgcc) { in AddClangSystemIncludeArgs()
201 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs()
204 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs()
206 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs()
208 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs()
[all …]
DToolChains.cpp2391 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths() argument
2395 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths()
2402 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2410 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2412 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths()
2416 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths()
2421 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
2433 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions()
2459 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() argument
2460 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
[all …]
DToolChains.h227 const llvm::opt::ArgList &DriverArgs,
589 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
607 const llvm::opt::ArgList &DriverArgs,
626 const llvm::opt::ArgList &DriverArgs,
649 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
652 const llvm::opt::ArgList &DriverArgs,
699 const llvm::opt::ArgList &DriverArgs,
723 const llvm::opt::ArgList &DriverArgs,
753 const llvm::opt::ArgList &DriverArgs,
792 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
[all …]
DMSVCToolChain.cpp512 const ArgList &DriverArgs, ArgStringList &CC1Args, in AddSystemIncludeWithSubfolder() argument
517 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder()
520 void MSVCToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
522 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
525 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
526 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, getDriver().ResourceDir, in AddClangSystemIncludeArgs()
530 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
539 addSystemInclude(DriverArgs, CC1Args, Dir); in AddClangSystemIncludeArgs()
549 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, VSDir, "VC\\include"); in AddClangSystemIncludeArgs()
555 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, UniversalCRTSdkPath, in AddClangSystemIncludeArgs()
[all …]
DToolChain.cpp502 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument
507 void ToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument
551 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude() argument
555 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude()
566 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude() argument
570 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude()
573 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists() argument
577 addExternCSystemInclude(DriverArgs, CC1Args, Path); in addExternCSystemIncludeIfExists()
581 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes() argument
586 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemIncludes()
[all …]
/external/clang/include/clang/Driver/
DToolChain.h107 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs,
110 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs,
114 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs,
117 static void addSystemIncludes(const llvm::opt::ArgList &DriverArgs,
357 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs,
361 virtual void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs,
379 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs,
408 virtual void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs,