/external/clang/lib/Driver/ |
D | CrossWindowsToolChain.cpp | 52 llvm::opt::ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 59 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/local/include"); in AddClangSystemIncludeArgs() 63 addSystemInclude(DriverArgs, CC1Args, ResourceDir); in AddClangSystemIncludeArgs() 65 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs() 70 llvm::opt::ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 80 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs() 84 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs() 85 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() 87 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() 94 llvm::opt::ArgStringList &CC1Args) const { in AddCXXStdlibLibArgs() [all …]
|
D | MinGWToolChain.cpp | 185 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 192 addSystemInclude(DriverArgs, CC1Args, P.str()); 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() 210 addSystemInclude(DriverArgs, CC1Args, Base + "include"); in AddClangSystemIncludeArgs() 214 ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs() 221 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs() 237 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase); in AddClangCXXStdlibIncludeArgs() [all …]
|
D | ToolChains.h | 228 llvm::opt::ArgStringList &CC1Args) const; 560 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override; 590 llvm::opt::ArgStringList &CC1Args) const override; 608 llvm::opt::ArgStringList &CC1Args) const override; 627 llvm::opt::ArgStringList &CC1Args) const override; 650 llvm::opt::ArgStringList &CC1Args) const override; 653 llvm::opt::ArgStringList &CC1Args) const override; 700 llvm::opt::ArgStringList &CC1Args) const override; 724 llvm::opt::ArgStringList &CC1Args) const override; 754 llvm::opt::ArgStringList &CC1Args) const override; [all …]
|
D | ToolChain.cpp | 503 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 508 ArgStringList &CC1Args) const { in addClangTargetOptions() 511 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions() 552 ArgStringList &CC1Args, in addSystemInclude() argument 554 CC1Args.push_back("-internal-isystem"); in addSystemInclude() 555 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude() 567 ArgStringList &CC1Args, in addExternCSystemInclude() argument 569 CC1Args.push_back("-internal-externc-isystem"); in addExternCSystemInclude() 570 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude() 574 ArgStringList &CC1Args, in addExternCSystemIncludeIfExists() argument [all …]
|
D | ToolChains.cpp | 230 void DarwinClang::addClangWarningOptions(ArgStringList &CC1Args) const { in addClangWarningOptions() 235 CC1Args.push_back("-Wdeprecated-objc-isa-usage"); in addClangWarningOptions() 236 CC1Args.push_back("-Werror=deprecated-objc-isa-usage"); in addClangWarningOptions() 241 CC1Args.push_back("-Werror=implicit-function-declaration"); in addClangWarningOptions() 2391 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths() 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() [all …]
|
D | MSVCToolChain.cpp | 512 const ArgList &DriverArgs, ArgStringList &CC1Args, in AddSystemIncludeWithSubfolder() argument 517 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder() 521 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs() 526 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, getDriver().ResourceDir, 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() 569 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs() 572 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs() 575 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs() [all …]
|
/external/clang/include/clang/Driver/ |
D | ToolChain.h | 108 llvm::opt::ArgStringList &CC1Args, 111 llvm::opt::ArgStringList &CC1Args, 115 llvm::opt::ArgStringList &CC1Args, 118 llvm::opt::ArgStringList &CC1Args, 358 llvm::opt::ArgStringList &CC1Args) const; 362 llvm::opt::ArgStringList &CC1Args) const; 365 virtual void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const; 380 llvm::opt::ArgStringList &CC1Args) const; 409 llvm::opt::ArgStringList &CC1Args) const;
|
/external/clang/tools/clang-fuzzer/ |
D | ClangFuzzer.cpp | 25 llvm::opt::ArgStringList CC1Args; in LLVMFuzzerTestOneInput() local 26 CC1Args.push_back("-cc1"); in LLVMFuzzerTestOneInput() 27 CC1Args.push_back("./test.cc"); in LLVMFuzzerTestOneInput() 36 tooling::newInvocation(&Diagnostics, CC1Args)); in LLVMFuzzerTestOneInput()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 90 const llvm::opt::ArgStringList &CC1Args) { in newInvocation() argument 91 assert(!CC1Args.empty() && "Must at least contain the program name!"); in newInvocation() 94 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation() 247 const llvm::opt::ArgStringList *const CC1Args = getCC1Arguments( in run() local 249 if (!CC1Args) { in run() 253 newInvocation(&Diagnostics, *CC1Args)); in run()
|
/external/clang/include/clang/Tooling/ |
D | Tooling.h | 450 const llvm::opt::ArgStringList &CC1Args);
|