Lines Matching refs:hasArg

56   if (Args.hasArg(options::OPT_gsplit_dwarf))  in ConstructJob()
63 if (Args.hasArg(options::OPT_mthreads)) in AddLibGCC()
70 bool Static = Args.hasArg(options::OPT_static_libgcc) || in AddLibGCC()
71 Args.hasArg(options::OPT_static); in AddLibGCC()
72 bool Shared = Args.hasArg(options::OPT_shared); in AddLibGCC()
118 if (Args.hasArg(options::OPT_s)) in ConstructJob()
155 if (Args.hasArg(options::OPT_mdll)) in ConstructJob()
157 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
159 if (Args.hasArg(options::OPT_static)) in ConstructJob()
163 if (Args.hasArg(options::OPT_mdll) || Args.hasArg(options::OPT_shared)) { in ConstructJob()
172 if (Args.hasArg(options::OPT_Z_Xlinker__no_demangle)) in ConstructJob()
211 if (Sanitize.needsAsanRt() && !Args.hasArg(options::OPT_nostdlib) && in ConstructJob()
212 !Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
218 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
219 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_mdll)) { in ConstructJob()
222 if (Args.hasArg(options::OPT_municode)) in ConstructJob()
227 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
261 bool OnlyLibstdcxxStatic = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
262 !Args.hasArg(options::OPT_static); in ConstructJob()
278 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
279 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
280 if (Args.hasArg(options::OPT_static)) in ConstructJob()
283 if (Args.hasArg(options::OPT_fstack_protector) || in ConstructJob()
284 Args.hasArg(options::OPT_fstack_protector_strong) || in ConstructJob()
285 Args.hasArg(options::OPT_fstack_protector_all)) { in ConstructJob()
310 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
313 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
340 if (Args.hasArg(options::OPT_mwindows)) { in ConstructJob()
350 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
359 if (!Args.hasArg(options::OPT_nostartfiles)) { in ConstructJob()
681 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
684 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
690 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
764 if (DriverArgs.hasArg(options::OPT_nostdinc, options::OPT_nostdlibinc, in AddClangCXXStdlibIncludeArgs()