Lines Matching refs:CPP_OPTION

135   CPP_OPTION (pfile, lang) = lang;  in cpp_set_lang()
137 CPP_OPTION (pfile, c99) = l->c99; in cpp_set_lang()
138 CPP_OPTION (pfile, cplusplus) = l->cplusplus; in cpp_set_lang()
139 CPP_OPTION (pfile, extended_numbers) = l->extended_numbers; in cpp_set_lang()
140 CPP_OPTION (pfile, extended_identifiers) = l->extended_identifiers; in cpp_set_lang()
141 CPP_OPTION (pfile, c11_identifiers) = l->c11_identifiers; in cpp_set_lang()
142 CPP_OPTION (pfile, std) = l->std; in cpp_set_lang()
143 CPP_OPTION (pfile, digraphs) = l->digraphs; in cpp_set_lang()
144 CPP_OPTION (pfile, uliterals) = l->uliterals; in cpp_set_lang()
145 CPP_OPTION (pfile, rliterals) = l->rliterals; in cpp_set_lang()
146 CPP_OPTION (pfile, user_literals) = l->user_literals; in cpp_set_lang()
147 CPP_OPTION (pfile, binary_constants) = l->binary_constants; in cpp_set_lang()
148 CPP_OPTION (pfile, digit_separators) = l->digit_separators; in cpp_set_lang()
149 CPP_OPTION (pfile, trigraphs) = l->trigraphs; in cpp_set_lang()
150 CPP_OPTION (pfile, utf8_char_literals) = l->utf8_char_literals; in cpp_set_lang()
151 CPP_OPTION (pfile, va_opt) = l->va_opt; in cpp_set_lang()
152 CPP_OPTION (pfile, scope) = l->scope; in cpp_set_lang()
153 CPP_OPTION (pfile, dfp_constants) = l->dfp_constants; in cpp_set_lang()
154 CPP_OPTION (pfile, size_t_literals) = l->size_t_literals; in cpp_set_lang()
155 CPP_OPTION (pfile, elifdef) = l->elifdef; in cpp_set_lang()
195 CPP_OPTION (pfile, warn_multichar) = 1; in cpp_create_reader()
196 CPP_OPTION (pfile, discard_comments) = 1; in cpp_create_reader()
197 CPP_OPTION (pfile, discard_comments_in_macro_exp) = 1; in cpp_create_reader()
198 CPP_OPTION (pfile, max_include_depth) = 200; in cpp_create_reader()
199 CPP_OPTION (pfile, operator_names) = 1; in cpp_create_reader()
200 CPP_OPTION (pfile, warn_trigraphs) = 2; in cpp_create_reader()
201 CPP_OPTION (pfile, warn_endif_labels) = 1; in cpp_create_reader()
202 CPP_OPTION (pfile, cpp_warn_c90_c99_compat) = -1; in cpp_create_reader()
203 CPP_OPTION (pfile, cpp_warn_c11_c2x_compat) = -1; in cpp_create_reader()
204 CPP_OPTION (pfile, cpp_warn_cxx11_compat) = 0; in cpp_create_reader()
205 CPP_OPTION (pfile, cpp_warn_deprecated) = 1; in cpp_create_reader()
206 CPP_OPTION (pfile, cpp_warn_long_long) = 0; in cpp_create_reader()
207 CPP_OPTION (pfile, dollars_in_ident) = 1; in cpp_create_reader()
208 CPP_OPTION (pfile, warn_dollars) = 1; in cpp_create_reader()
209 CPP_OPTION (pfile, warn_variadic_macros) = 1; in cpp_create_reader()
210 CPP_OPTION (pfile, warn_builtin_macro_redefined) = 1; in cpp_create_reader()
211 CPP_OPTION (pfile, cpp_warn_implicit_fallthrough) = 0; in cpp_create_reader()
217 CPP_OPTION (pfile, track_macro_expansion) = 2; in cpp_create_reader()
218 CPP_OPTION (pfile, warn_normalize) = normalized_C; in cpp_create_reader()
219 CPP_OPTION (pfile, warn_literal_suffix) = 1; in cpp_create_reader()
220 CPP_OPTION (pfile, canonical_system_headers) in cpp_create_reader()
222 CPP_OPTION (pfile, ext_numeric_literals) = 1; in cpp_create_reader()
223 CPP_OPTION (pfile, warn_date_time) = 0; in cpp_create_reader()
224 CPP_OPTION (pfile, cpp_warn_bidirectional) = bidirectional_unpaired; in cpp_create_reader()
228 CPP_OPTION (pfile, precision) = CHAR_BIT * sizeof (long); in cpp_create_reader()
229 CPP_OPTION (pfile, char_precision) = CHAR_BIT; in cpp_create_reader()
230 CPP_OPTION (pfile, wchar_precision) = CHAR_BIT * sizeof (int); in cpp_create_reader()
231 CPP_OPTION (pfile, int_precision) = CHAR_BIT * sizeof (int); in cpp_create_reader()
232 CPP_OPTION (pfile, unsigned_char) = 0; in cpp_create_reader()
233 CPP_OPTION (pfile, unsigned_wchar) = 1; in cpp_create_reader()
234 CPP_OPTION (pfile, bytes_big_endian) = 1; /* does not matter */ in cpp_create_reader()
237 CPP_OPTION (pfile, narrow_charset) = _cpp_default_encoding (); in cpp_create_reader()
238 CPP_OPTION (pfile, wide_charset) = 0; in cpp_create_reader()
241 CPP_OPTION (pfile, input_charset) = _cpp_default_encoding (); in cpp_create_reader()
253 pfile->state.save_comments = ! CPP_OPTION (pfile, discard_comments); in cpp_create_reader()
495 if (CPP_OPTION (pfile, traditional)) in cpp_init_special_builtins()
497 else if (! CPP_OPTION (pfile, stdc_0_in_system_headers) in cpp_init_special_builtins()
498 || CPP_OPTION (pfile, std)) in cpp_init_special_builtins()
506 && (CPP_OPTION (pfile, lang) == CLK_ASM in cpp_init_special_builtins()
544 if (!CPP_OPTION (pfile, traditional) in cpp_init_builtins()
545 && (! CPP_OPTION (pfile, stdc_0_in_system_headers) in cpp_init_builtins()
546 || CPP_OPTION (pfile, std))) in cpp_init_builtins()
549 if (CPP_OPTION (pfile, cplusplus)) in cpp_init_builtins()
553 if (CPP_OPTION (pfile, lang) == CLK_CXX23 in cpp_init_builtins()
554 || CPP_OPTION (pfile, lang) == CLK_GNUCXX23) in cpp_init_builtins()
556 else if (CPP_OPTION (pfile, lang) == CLK_CXX20 in cpp_init_builtins()
557 || CPP_OPTION (pfile, lang) == CLK_GNUCXX20) in cpp_init_builtins()
559 else if (CPP_OPTION (pfile, lang) == CLK_CXX17 in cpp_init_builtins()
560 || CPP_OPTION (pfile, lang) == CLK_GNUCXX17) in cpp_init_builtins()
562 else if (CPP_OPTION (pfile, lang) == CLK_CXX14 in cpp_init_builtins()
563 || CPP_OPTION (pfile, lang) == CLK_GNUCXX14) in cpp_init_builtins()
565 else if (CPP_OPTION (pfile, lang) == CLK_CXX11 in cpp_init_builtins()
566 || CPP_OPTION (pfile, lang) == CLK_GNUCXX11) in cpp_init_builtins()
571 else if (CPP_OPTION (pfile, lang) == CLK_ASM) in cpp_init_builtins()
573 else if (CPP_OPTION (pfile, lang) == CLK_STDC94) in cpp_init_builtins()
575 else if (CPP_OPTION (pfile, lang) == CLK_STDC2X in cpp_init_builtins()
576 || CPP_OPTION (pfile, lang) == CLK_GNUC2X) in cpp_init_builtins()
578 else if (CPP_OPTION (pfile, lang) == CLK_STDC17 in cpp_init_builtins()
579 || CPP_OPTION (pfile, lang) == CLK_GNUC17) in cpp_init_builtins()
581 else if (CPP_OPTION (pfile, lang) == CLK_STDC11 in cpp_init_builtins()
582 || CPP_OPTION (pfile, lang) == CLK_GNUC11) in cpp_init_builtins()
584 else if (CPP_OPTION (pfile, c99)) in cpp_init_builtins()
587 if (CPP_OPTION (pfile, uliterals) in cpp_init_builtins()
588 && !(CPP_OPTION (pfile, cplusplus) in cpp_init_builtins()
589 && (CPP_OPTION (pfile, lang) == CLK_GNUCXX in cpp_init_builtins()
590 || CPP_OPTION (pfile, lang) == CLK_CXX98))) in cpp_init_builtins()
601 if (CPP_OPTION (pfile, objc)) in cpp_init_builtins()
620 if (CPP_OPTION (pfile, precision) > max_precision) in sanity_checks()
625 (unsigned long) CPP_OPTION (pfile, precision)); in sanity_checks()
627 if (CPP_OPTION (pfile, precision) < CPP_OPTION (pfile, int_precision)) in sanity_checks()
631 if (CPP_OPTION (pfile, char_precision) < 8) in sanity_checks()
634 if (CPP_OPTION (pfile, wchar_precision) < CPP_OPTION (pfile, char_precision)) in sanity_checks()
638 if (CPP_OPTION (pfile, int_precision) < CPP_OPTION (pfile, char_precision)) in sanity_checks()
647 if (CPP_OPTION (pfile, wchar_precision) > BITS_PER_CPPCHAR_T) in sanity_checks()
652 (unsigned long) CPP_OPTION (pfile, wchar_precision)); in sanity_checks()
671 if (CPP_OPTION (pfile, cplusplus) && CPP_OPTION (pfile, operator_names)) in cpp_post_options()
673 if (CPP_OPTION (pfile, warn_cxx_operator_names)) in cpp_post_options()
692 CPP_OPTION (pfile, preprocessed) ? &pfile->no_search_path in cpp_read_main_file()
693 : CPP_OPTION (pfile, main_search) == CMS_user in cpp_read_main_file()
695 : CPP_OPTION (pfile, main_search) == CMS_system in cpp_read_main_file()
703 injecting || CPP_OPTION (pfile, preprocessed) in cpp_read_main_file()
708 if (CPP_OPTION (pfile, preprocessed)) in cpp_read_main_file()
848 if (CPP_OPTION (pfile, warn_unused_macros)) in cpp_finish()
863 if (CPP_OPTION (pfile, print_include_names)) in cpp_finish()
871 if (CPP_OPTION (pfile, cplusplus)) in post_options()
872 CPP_OPTION (pfile, cpp_warn_traditional) = 0; in post_options()
876 if (CPP_OPTION (pfile, preprocessed)) in post_options()
878 if (!CPP_OPTION (pfile, directives_only)) in post_options()
880 CPP_OPTION (pfile, traditional) = 0; in post_options()
883 if (CPP_OPTION (pfile, warn_trigraphs) == 2) in post_options()
884 CPP_OPTION (pfile, warn_trigraphs) = !CPP_OPTION (pfile, trigraphs); in post_options()
886 if (CPP_OPTION (pfile, traditional)) in post_options()
888 CPP_OPTION (pfile, trigraphs) = 0; in post_options()
889 CPP_OPTION (pfile, warn_trigraphs) = 0; in post_options()
892 if (CPP_OPTION (pfile, module_directives)) in post_options()