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()
66 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
67 addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include"); in AddClangSystemIncludeArgs()
72 llvm::opt::ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs()
82 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++/v1"); in AddClangCXXStdlibIncludeArgs()
86 addSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include/c++"); in AddClangCXXStdlibIncludeArgs()
87 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
89 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
[all …]
DMinGWToolChain.cpp191 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
198 addSystemInclude(DriverArgs, CC1Args, P.str()); 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()
216 addSystemInclude(DriverArgs, CC1Args, Base + "include"); in AddClangSystemIncludeArgs()
220 ArgStringList &CC1Args) const { in AddClangCXXStdlibIncludeArgs()
227 addSystemInclude(DriverArgs, CC1Args, in AddClangCXXStdlibIncludeArgs()
243 addSystemInclude(DriverArgs, CC1Args, CppIncludeBase); in AddClangCXXStdlibIncludeArgs()
[all …]
DToolChains.h246 llvm::opt::ArgStringList &CC1Args) const;
585 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override;
615 llvm::opt::ArgStringList &CC1Args) const override;
633 llvm::opt::ArgStringList &CC1Args) const override;
655 llvm::opt::ArgStringList &CC1Args) const override;
678 llvm::opt::ArgStringList &CC1Args) const override;
681 llvm::opt::ArgStringList &CC1Args) const override;
707 llvm::opt::ArgStringList &CC1Args) const override;
740 llvm::opt::ArgStringList &CC1Args) const override;
764 llvm::opt::ArgStringList &CC1Args) const override;
[all …]
DToolChain.cpp511 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
516 ArgStringList &CC1Args) const { in addClangTargetOptions()
519 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
582 ArgStringList &CC1Args, in addSystemInclude() argument
584 CC1Args.push_back("-internal-isystem"); in addSystemInclude()
585 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude()
597 ArgStringList &CC1Args, in addExternCSystemInclude() argument
599 CC1Args.push_back("-internal-externc-isystem"); in addExternCSystemInclude()
600 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude()
604 ArgStringList &CC1Args, in addExternCSystemIncludeIfExists() argument
[all …]
DToolChains.cpp241 void DarwinClang::addClangWarningOptions(ArgStringList &CC1Args) const { in addClangWarningOptions()
246 CC1Args.push_back("-Wdeprecated-objc-isa-usage"); in addClangWarningOptions()
247 CC1Args.push_back("-Werror=deprecated-objc-isa-usage"); in addClangWarningOptions()
252 CC1Args.push_back("-Werror=implicit-function-declaration"); in addClangWarningOptions()
2765 const ArgList &DriverArgs, ArgStringList &CC1Args) const { in addLibStdCXXIncludePaths()
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()
[all …]
DMSVCToolChain.cpp569 const ArgList &DriverArgs, ArgStringList &CC1Args, in AddSystemIncludeWithSubfolder() argument
574 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder()
578 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
583 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, getDriver().ResourceDir, in AddClangSystemIncludeArgs()
589 addSystemInclude(DriverArgs, CC1Args, Path); in AddClangSystemIncludeArgs()
600 addSystemInclude(DriverArgs, CC1Args, Dir); in AddClangSystemIncludeArgs()
610 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, VSDir, "VC\\include"); in AddClangSystemIncludeArgs()
616 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, UniversalCRTSdkPath, in AddClangSystemIncludeArgs()
630 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
633 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
[all …]
/external/clang/include/clang/Driver/
DToolChain.h109 llvm::opt::ArgStringList &CC1Args,
112 llvm::opt::ArgStringList &CC1Args,
116 llvm::opt::ArgStringList &CC1Args,
119 llvm::opt::ArgStringList &CC1Args,
368 llvm::opt::ArgStringList &CC1Args) const;
372 llvm::opt::ArgStringList &CC1Args) const;
375 virtual void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const;
390 llvm::opt::ArgStringList &CC1Args) const;
419 llvm::opt::ArgStringList &CC1Args) const;
423 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.cpp92 const llvm::opt::ArgStringList &CC1Args) { in newInvocation() argument
93 assert(!CC1Args.empty() && "Must at least contain the program name!"); in newInvocation()
96 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation()
255 const llvm::opt::ArgStringList *const CC1Args = getCC1Arguments( in run() local
257 if (!CC1Args) { in run()
261 newInvocation(&Diagnostics, *CC1Args)); in run()
/external/clang/include/clang/Tooling/
DTooling.h455 const llvm::opt::ArgStringList &CC1Args);