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()
116 if (Args.hasArg(options::OPT_s)) in ConstructJob()
139 if (Args.hasArg(options::OPT_mwindows)) { in ConstructJob()
142 } else if (Args.hasArg(options::OPT_mconsole)) { in ConstructJob()
147 if (Args.hasArg(options::OPT_mdll)) in ConstructJob()
149 else if (Args.hasArg(options::OPT_shared)) in ConstructJob()
151 if (Args.hasArg(options::OPT_static)) in ConstructJob()
155 if (Args.hasArg(options::OPT_mdll) || Args.hasArg(options::OPT_shared)) { in ConstructJob()
184 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
185 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_mdll)) { in ConstructJob()
188 if (Args.hasArg(options::OPT_municode)) in ConstructJob()
193 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
216 bool OnlyLibstdcxxStatic = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
217 !Args.hasArg(options::OPT_static); in ConstructJob()
233 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
234 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
235 if (Args.hasArg(options::OPT_static)) in ConstructJob()
238 if (Args.hasArg(options::OPT_fstack_protector) || in ConstructJob()
239 Args.hasArg(options::OPT_fstack_protector_strong) || in ConstructJob()
240 Args.hasArg(options::OPT_fstack_protector_all)) { in ConstructJob()
265 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
268 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
295 if (Args.hasArg(options::OPT_mwindows)) { in ConstructJob()
305 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
314 if (!Args.hasArg(options::OPT_nostartfiles)) { in ConstructJob()
555 if (DriverArgs.hasArg(options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
558 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
564 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
580 if (DriverArgs.hasArg(options::OPT_nostdlibinc) || in AddClangCXXStdlibIncludeArgs()
581 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()