Home
last modified time | relevance | path

Searched refs:CC1Args (Results 1 – 9 of 9) 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 …]
DToolChain.cpp343 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
348 ArgStringList &CC1Args) const { in addClangTargetOptions()
351 void ToolChain::addClangWarningOptions(ArgStringList &CC1Args) const {} in addClangWarningOptions()
385 ArgStringList &CC1Args, in addSystemInclude() argument
387 CC1Args.push_back("-internal-isystem"); in addSystemInclude()
388 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addSystemInclude()
400 ArgStringList &CC1Args, in addExternCSystemInclude() argument
402 CC1Args.push_back("-internal-externc-isystem"); in addExternCSystemInclude()
403 CC1Args.push_back(DriverArgs.MakeArgString(Path)); in addExternCSystemInclude()
407 ArgStringList &CC1Args, in addExternCSystemIncludeIfExists() argument
[all …]
DMSVCToolChain.cpp422 ArgStringList &CC1Args, in AddSystemIncludeWithSubfolder() argument
427 addSystemInclude(DriverArgs, CC1Args, path); in AddSystemIncludeWithSubfolder()
431 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
438 addSystemInclude(DriverArgs, CC1Args, P); in AddClangSystemIncludeArgs()
450 addSystemInclude(DriverArgs, CC1Args, Dir); in AddClangSystemIncludeArgs()
460 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, VSDir, "VC\\include"); in AddClangSystemIncludeArgs()
466 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
468 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
470 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
473 AddSystemIncludeWithSubfolder(DriverArgs, CC1Args, WindowsSDKDir, in AddClangSystemIncludeArgs()
[all …]
DToolChains.h490 void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const override;
511 llvm::opt::ArgStringList &CC1Args) const override;
529 llvm::opt::ArgStringList &CC1Args) const override;
581 llvm::opt::ArgStringList &CC1Args) const override;
605 llvm::opt::ArgStringList &CC1Args) const override;
626 llvm::opt::ArgStringList &CC1Args) const override;
667 llvm::opt::ArgStringList &CC1Args) const override;
670 llvm::opt::ArgStringList &CC1Args) const override;
687 llvm::opt::ArgStringList &CC1Args);
705 llvm::opt::ArgStringList &CC1Args) const override;
[all …]
DToolChains.cpp244 void DarwinClang::addClangWarningOptions(ArgStringList &CC1Args) const { in addClangWarningOptions()
249 CC1Args.push_back("-Wdeprecated-objc-isa-usage"); in addClangWarningOptions()
250 CC1Args.push_back("-Werror=deprecated-objc-isa-usage"); in addClangWarningOptions()
254 CC1Args.push_back("-Werror=implicit-function-declaration"); in addClangWarningOptions()
2083 ArgStringList &CC1Args) const { in addClangTargetOptions()
2096 CC1Args.push_back("-fuse-init-array"); in addClangTargetOptions()
2223 ArgStringList &CC1Args) const { in AddClangSystemIncludeArgs()
2233 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include"); in AddClangSystemIncludeArgs()
2234 addExternCSystemInclude(DriverArgs, CC1Args, HexagonDir + "/include-fixed"); in AddClangSystemIncludeArgs()
2235 addExternCSystemInclude(DriverArgs, CC1Args, GnuDir + "/hexagon/include"); in AddClangSystemIncludeArgs()
[all …]
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp25 llvm::opt::ArgStringList CC1Args; in TestOneInput() local
26 CC1Args.push_back("-cc1"); in TestOneInput()
27 CC1Args.push_back("test.cc"); in TestOneInput()
36 tooling::newInvocation(&Diagnostics, CC1Args)); in TestOneInput()
/external/clang/include/clang/Driver/
DToolChain.h102 llvm::opt::ArgStringList &CC1Args,
105 llvm::opt::ArgStringList &CC1Args,
109 llvm::opt::ArgStringList &CC1Args,
112 llvm::opt::ArgStringList &CC1Args,
307 llvm::opt::ArgStringList &CC1Args) const;
311 llvm::opt::ArgStringList &CC1Args) const;
314 virtual void addClangWarningOptions(llvm::opt::ArgStringList &CC1Args) const;
329 llvm::opt::ArgStringList &CC1Args) const;
/external/clang/lib/Tooling/
DTooling.cpp95 const llvm::opt::ArgStringList &CC1Args) { in newInvocation() argument
96 assert(!CC1Args.empty() && "Must at least contain the program name!"); in newInvocation()
99 *Invocation, CC1Args.data() + 1, CC1Args.data() + CC1Args.size(), in newInvocation()
221 const llvm::opt::ArgStringList *const CC1Args = getCC1Arguments( in run() local
223 if (!CC1Args) { in run()
227 newInvocation(&Diagnostics, *CC1Args)); in run()
/external/clang/include/clang/Tooling/
DTooling.h390 const llvm::opt::ArgStringList &CC1Args);