Home
last modified time | relevance | path

Searched refs:CC1Args (Results 1 – 10 of 10) sorted by relevance

/external/clang/lib/Driver/
DCrossWindowsToolChain.cpp52 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 …]
DMinGWToolChain.cpp185 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 …]
DToolChains.h228 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 …]
DToolChain.cpp503 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 …]
DToolChains.cpp230 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 …]
DMSVCToolChain.cpp512 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/
DToolChain.h108 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/
DClangFuzzer.cpp25 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/
DTooling.cpp90 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/
DTooling.h450 const llvm::opt::ArgStringList &CC1Args);