/external/clang/lib/Driver/ |
D | CrossWindowsToolChain.cpp | 51 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 for (const auto &P : DriverArgs.getAllArgValues(options::OPT_isystem_after)) in AddClangSystemIncludeArgs() 66 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs() 67 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs() 71 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, in AddClangCXXStdlibIncludeArgs() argument 76 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs() [all …]
|
D | MinGWToolChain.cpp | 190 void MinGW::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument 192 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs() 195 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs() 198 addSystemInclude(DriverArgs, CC1Args, P.str()); in AddClangSystemIncludeArgs() 201 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs() 204 if (GetRuntimeLibType(DriverArgs) == ToolChain::RLT_Libgcc) { in AddClangSystemIncludeArgs() 207 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs() 210 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() 212 addSystemInclude(DriverArgs, CC1Args, IncludeDir.c_str()); in AddClangSystemIncludeArgs() 214 addSystemInclude(DriverArgs, CC1Args, in AddClangSystemIncludeArgs() [all …]
|
D | ToolChains.cpp | 2765 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths() argument 2769 addSystemInclude(DriverArgs, CC1Args, Base + Suffix); in addLibStdCXXIncludePaths() 2776 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2784 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2786 addSystemInclude(DriverArgs, CC1Args, in addLibStdCXXIncludePaths() 2790 addSystemInclude(DriverArgs, CC1Args, Base + Suffix + "/backward"); in addLibStdCXXIncludePaths() 2794 void Generic_ELF::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument 2806 if (DriverArgs.hasFlag(options::OPT_fuse_init_array, in addClangTargetOptions() 2832 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() argument 2833 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs() [all …]
|
D | ToolChains.h | 245 const llvm::opt::ArgList &DriverArgs, 614 void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 632 const llvm::opt::ArgList &DriverArgs, 654 const llvm::opt::ArgList &DriverArgs, 677 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 680 const llvm::opt::ArgList &DriverArgs, 706 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, 739 const llvm::opt::ArgList &DriverArgs, 763 const llvm::opt::ArgList &DriverArgs, 792 const llvm::opt::ArgList &DriverArgs, [all …]
|
D | MSVCToolChain.cpp | 569 const ArgList &DriverArgs, ArgStringList &CC1Args, in AddSystemIncludeWithSubfolder() argument 574 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder() 577 void MSVCToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument 579 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs() 582 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs() 583 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, getDriver().ResourceDir, in AddClangSystemIncludeArgs() 588 for (const auto &Path : DriverArgs.getAllArgValues(options::OPT__SLASH_imsvc)) in AddClangSystemIncludeArgs() 589 addSystemInclude(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs() 591 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs() 600 addSystemInclude(DriverArgs, CC1Args, Dir); in AddClangSystemIncludeArgs() [all …]
|
D | ToolChain.cpp | 510 void ToolChain::AddClangSystemIncludeArgs(const ArgList &DriverArgs, in AddClangSystemIncludeArgs() argument 515 void ToolChain::addClangTargetOptions(const ArgList &DriverArgs, in addClangTargetOptions() argument 581 /*static*/ void ToolChain::addSystemInclude(const ArgList &DriverArgs, in addSystemInclude() argument 585 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude() 596 /*static*/ void ToolChain::addExternCSystemInclude(const ArgList &DriverArgs, in addExternCSystemInclude() argument 600 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude() 603 void ToolChain::addExternCSystemIncludeIfExists(const ArgList &DriverArgs, in addExternCSystemIncludeIfExists() argument 607 addExternCSystemInclude(DriverArgs, CC1Args, Path); in addExternCSystemIncludeIfExists() 611 /*static*/ void ToolChain::addSystemIncludes(const ArgList &DriverArgs, in addSystemIncludes() argument 616 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemIncludes() [all …]
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 108 static void addSystemInclude(const llvm::opt::ArgList &DriverArgs, 111 static void addExternCSystemInclude(const llvm::opt::ArgList &DriverArgs, 115 addExternCSystemIncludeIfExists(const llvm::opt::ArgList &DriverArgs, 118 static void addSystemIncludes(const llvm::opt::ArgList &DriverArgs, 367 AddClangSystemIncludeArgs(const llvm::opt::ArgList &DriverArgs, 371 virtual void addClangTargetOptions(const llvm::opt::ArgList &DriverArgs, 389 AddClangCXXStdlibIncludeArgs(const llvm::opt::ArgList &DriverArgs, 418 virtual void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs, 422 virtual void AddIAMCUIncludeArgs(const llvm::opt::ArgList &DriverArgs,
|