Home
last modified time | relevance | path

Searched refs:cl_options (Results 1 – 12 of 12) sorted by relevance

/openbsd/gnu/gcc/gcc/
H A Dopts-common.c66 opt_len = cl_options[md].opt_len; in find_opt()
67 comp = strncmp (input, cl_options[md].opt_text + 1, opt_len); in find_opt()
84 const struct cl_option *opt = &cl_options[mn]; in find_opt()
119 if (cl_options [next_opt_idx].neg_index == opt_idx) in cancel_option()
122 if (cl_options [next_opt_idx].neg_index != orig_next_opt_idx) in cancel_option()
123 return cancel_option (opt_idx, cl_options [next_opt_idx].neg_index, in cancel_option()
174 option = &cl_options[opt_index]; in prune_options()
H A Dopts.c252 option = &cl_options[opt_index]; in handle_option()
734 && cl_options[option_index].flag_var in common_handle_option()
1059 gcc_assert (cl_options[scode].flag_var); in common_handle_option()
1305 if ((cl_options[i].flags & filter) != flag) in print_filtered_help()
1309 if (cl_options[i].flags & CL_UNDOCUMENTED) in print_filtered_help()
1334 if (cl_options[i].flags & CL_UNDOCUMENTED) in print_filtered_help()
1343 help = cl_options[i].help; in print_filtered_help()
1359 opt = cl_options[i].opt_text; in print_filtered_help()
1473 if (cl_options[option].flag_var == 0) in get_option_state()
1476 switch (cl_options[option].var_type) in get_option_state()
[all …]
H A Dopts.h64 extern const struct cl_option cl_options[];
H A Dc-pragma.c716 if (strcmp (cl_options[option_index].opt_text, option_string) == 0) in handle_pragma_diagnostic()
721 if (cl_options[option_index].var_type == CLVC_BOOLEAN in handle_pragma_diagnostic()
722 && cl_options[option_index].flag_var in handle_pragma_diagnostic()
724 *(int *) cl_options[option_index].flag_var = 1; in handle_pragma_diagnostic()
H A Dtoplev.c1258 if ((cl_options[j].flags & CL_REPORT) in print_switch_values()
1261 "", cl_options[j].opt_text); in print_switch_values()
1320 if ((cl_options[option].flags & CL_TARGET) == 0) in option_affects_pch_p()
1322 if (cl_options[option].flag_var == &target_flags) in option_affects_pch_p()
1414 return pch_option_mismatch (cl_options[i].opt_text); in default_pch_valid_p()
H A Dc-opts.c273 const struct cl_option *option = &cl_options[scode]; in c_common_handle_option()
284 if (cl_options[code].flags & (CL_C | CL_CXX | CL_ObjC | CL_ObjCXX)) in c_common_handle_option()
287 if (lang_fortran && (cl_options[code].flags & (CL_Fortran))) in c_common_handle_option()
H A Ddiagnostic.c401 " [", cl_options[diagnostic->option_index].opt_text, "]", NULL)); in diagnostic_report_diagnostic()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dc-opts.c304 static struct cl_option cl_options[] = variable
306 static const struct cl_option cl_options[] =
345 switch (cl_options[opt_index].opt_code)
405 opt_len = cl_options[md].opt_len;
448 opt_len = cl_options[md].opt_len;
453 if (cl_options[md].flags & lang_flag
454 && cl_options[md].flags & CL_JOINED)
505 if (strcmp (cl_options[i - 1].opt_text, cl_options[i].opt_text) >= 0)
507 cl_options[i - 1].opt_text, cl_options[i].opt_text);
603 option = &cl_options[opt_index];
[all …]
H A Dcppinit.c1228 static struct cl_option cl_options[] = variable
1230 static const struct cl_option cl_options[] =
1258 opt_len = cl_options[md].opt_len;
1275 if (cl_options[md].msg)
1283 opt_len = cl_options[mn].opt_len;
1284 if (strncmp (input, cl_options[mn].opt_text, opt_len))
1288 if (cl_options[mn].msg)
1321 opt_code = cl_options[opt_index].opt_code;
1322 if (cl_options[opt_index].msg)
1324 arg = &argv[i][cl_options[opt_index].opt_len + 1];
[all …]
H A DChangeLog.38409 (cl_options, enum opt_code): Define these from the same table,
H A DChangeLog10822 * c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
/openbsd/gnu/gcc/gcc/treelang/
H A DChangeLog675 * treetree.c: Remove cl_options-count and cl_options.
692 * treetree.c: Include opts.h. Define cl_options_count and cl_options.