Lines Matching refs:hasArg
132 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
134 if (Args.hasArg(options::OPT_pie)) { in ConstructJob()
139 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
141 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
143 } else if (!Args.hasArg(options::OPT_r)) { in ConstructJob()
240 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
242 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
248 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) { in ConstructJob()
299 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs, in ConstructJob()
302 bool StaticOpenMP = Args.hasArg(options::OPT_static_openmp) && in ConstructJob()
303 !Args.hasArg(options::OPT_static); in ConstructJob()
315 if (Args.hasArg(options::OPT_pthread)) in ConstructJob()
320 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
336 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
338 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_pie)) in ConstructJob()
359 if (!Args.hasArg(options::OPT_nostdlib)) { in NetBSD()
444 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
447 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
453 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()