Lines Matching refs:hasArg
87 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
89 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
91 if (Args.hasArg(options::OPT_s)) in ConstructJob()
115 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
131 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
141 CmdArgs.push_back(Args.hasArg(options::OPT_static) ? "-Bstatic" in ConstructJob()
144 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles)) { in ConstructJob()
158 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_rdynamic)) { in ConstructJob()
171 bool StaticCXX = Args.hasArg(options::OPT_static_libstdcxx) && in ConstructJob()
172 !Args.hasArg(options::OPT_static); in ConstructJob()
180 if (!Args.hasArg(options::OPT_nostdlib)) { in ConstructJob()
181 if (!Args.hasArg(options::OPT_nodefaultlibs)) { in ConstructJob()
190 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
245 if (DriverArgs.hasArg(options::OPT_nostdinc)) { in AddClangSystemIncludeArgs()
251 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
265 if (DriverArgs.hasArg(options::OPT_nostdinc) || in AddClangCXXStdlibIncludeArgs()
266 DriverArgs.hasArg(options::OPT_nostdincxx)) in AddClangCXXStdlibIncludeArgs()