Lines Matching full:options

16 #include "clang/Driver/Options.h"
95 Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA, options::OPT_Xassembler); in ConstructJob()
121 Args.ClaimAllArgs(options::OPT_g_Group); in ConstructJob()
123 Args.ClaimAllArgs(options::OPT_emit_llvm); in ConstructJob()
124 // and for "clang -w foo.o -o foo". Other warning options are already in ConstructJob()
126 Args.ClaimAllArgs(options::OPT_w); in ConstructJob()
136 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_shared)) { in ConstructJob()
142 if (Args.hasArg(options::OPT_static)) { in ConstructJob()
145 if (Args.hasArg(options::OPT_rdynamic)) in ConstructJob()
148 if (Args.hasArg(options::OPT_shared)) { in ConstructJob()
150 } else if (!Args.hasArg(options::OPT_r)) { in ConstructJob()
156 if (Args.hasArg(options::OPT_pie)) in ConstructJob()
158 if (Args.hasArg(options::OPT_nopie) || Args.hasArg(options::OPT_pg)) in ConstructJob()
171 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
172 options::OPT_r)) { in ConstructJob()
175 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
176 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
178 else if (Args.hasArg(options::OPT_static) && in ConstructJob()
179 !Args.hasArg(options::OPT_nopie)) in ConstructJob()
193 Args.AddAllArgs(CmdArgs, options::OPT_L); in ConstructJob()
195 Args.AddAllArgs(CmdArgs, {options::OPT_T_Group, options::OPT_e, in ConstructJob()
196 options::OPT_s, options::OPT_t, in ConstructJob()
197 options::OPT_Z_Flag, options::OPT_r}); in ConstructJob()
203 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nodefaultlibs, in ConstructJob()
204 options::OPT_r)) { in ConstructJob()
206 bool StaticOpenMP = Args.hasArg(options::OPT_static_openmp) && in ConstructJob()
207 !Args.hasArg(options::OPT_static); in ConstructJob()
213 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
230 if (Args.hasArg(options::OPT_pthread)) { in ConstructJob()
231 if (!Args.hasArg(options::OPT_shared) && Args.hasArg(options::OPT_pg)) in ConstructJob()
237 if (!Args.hasArg(options::OPT_shared)) { in ConstructJob()
238 if (Args.hasArg(options::OPT_pg)) in ConstructJob()
247 if (!Args.hasArg(options::OPT_nostdlib, options::OPT_nostartfiles, in ConstructJob()
248 options::OPT_r)) { in ConstructJob()
250 if (!Args.hasArg(options::OPT_shared)) in ConstructJob()
299 if (DriverArgs.hasArg(clang::driver::options::OPT_nostdinc)) in AddClangSystemIncludeArgs()
302 if (!DriverArgs.hasArg(options::OPT_nobuiltininc)) { in AddClangSystemIncludeArgs()
308 if (DriverArgs.hasArg(options::OPT_nostdlibinc)) in AddClangSystemIncludeArgs()
336 bool Profiling = Args.hasArg(options::OPT_pg); in AddCXXStdlibLibArgs()
339 if (Args.hasArg(options::OPT_fexperimental_library)) in AddCXXStdlibLibArgs()