Home
last modified time | relevance | path

Searched refs:CPP_OPTION (Results 1 – 17 of 17) sorted by relevance

/freebsd-12-stable/contrib/gcclibs/libcpp/
Dinit.c103 CPP_OPTION (pfile, lang) = lang; in cpp_set_lang()
105 CPP_OPTION (pfile, c99) = l->c99; in cpp_set_lang()
106 CPP_OPTION (pfile, cplusplus) = l->cplusplus; in cpp_set_lang()
107 CPP_OPTION (pfile, extended_numbers) = l->extended_numbers; in cpp_set_lang()
108 CPP_OPTION (pfile, extended_identifiers) = l->extended_identifiers; in cpp_set_lang()
109 CPP_OPTION (pfile, std) = l->std; in cpp_set_lang()
110 CPP_OPTION (pfile, trigraphs) = l->std; in cpp_set_lang()
111 CPP_OPTION (pfile, cplusplus_comments) = l->cplusplus_comments; in cpp_set_lang()
112 CPP_OPTION (pfile, digraphs) = l->digraphs; in cpp_set_lang()
151 CPP_OPTION (pfile, warn_newline_at_eof) = 0; in cpp_create_reader()
[all …]
Derrors.c60 else if (CPP_OPTION (pfile, show_column) == 0) in print_location()
90 && ! CPP_OPTION (pfile, warn_system_headers)) in _cpp_begin_message()
95 if (CPP_OPTION (pfile, warnings_are_errors) in _cpp_begin_message()
96 || (level == CPP_DL_PEDWARN && CPP_OPTION (pfile, pedantic_errors))) in _cpp_begin_message()
98 if (CPP_OPTION (pfile, inhibit_errors)) in _cpp_begin_message()
103 else if (CPP_OPTION (pfile, inhibit_warnings)) in _cpp_begin_message()
108 if (CPP_OPTION (pfile, inhibit_errors)) in _cpp_begin_message()
143 if (CPP_OPTION (pfile, client_diagnostic)) in cpp_error()
147 if (CPP_OPTION (pfile, traditional)) in cpp_error()
Dcharset.c681 const char *ncset = CPP_OPTION (pfile, narrow_charset); in cpp_init_iconv()
682 const char *wcset = CPP_OPTION (pfile, wide_charset); in cpp_init_iconv()
685 bool be = CPP_OPTION (pfile, bytes_big_endian); in cpp_init_iconv()
687 if (CPP_OPTION (pfile, wchar_precision) >= 32) in cpp_init_iconv()
689 else if (CPP_OPTION (pfile, wchar_precision) >= 16) in cpp_init_iconv()
851 && ((CPP_OPTION (pfile, c99) && !(ucnranges[mn].flags & C99)) in ucn_valid_in_identifier()
852 || (CPP_OPTION (pfile, cplusplus) in ucn_valid_in_identifier()
909 if (CPP_OPTION (pfile, c99) && (ucnranges[mn].flags & DIG)) in ucn_valid_in_identifier()
947 if (!CPP_OPTION (pfile, cplusplus) && !CPP_OPTION (pfile, c99)) in _cpp_valid_ucn()
1003 && CPP_OPTION (pfile, dollars_in_ident)) in _cpp_valid_ucn()
[all …]
Dlex.c165 if (CPP_OPTION (pfile, trigraphs)) in _cpp_clean_line()
206 if (CPP_OPTION (pfile, trigraphs)) in _cpp_clean_line()
248 if (CPP_OPTION (pfile, trigraphs)) in warn_in_comment()
298 if (CPP_OPTION (pfile, warn_trigraphs) in _cpp_process_line_notes()
301 if (CPP_OPTION (pfile, trigraphs)) in _cpp_process_line_notes()
350 if (CPP_OPTION (pfile, warn_comments) in _cpp_skip_block_comment()
449 if (CPP_OPTION (pfile, warn_normalize) < NORMALIZE_STATE_RESULT (s) in warn_about_normalization()
477 if (!CPP_OPTION (pfile, dollars_in_ident)) in forms_identifier_p()
481 if (CPP_OPTION (pfile, warn_dollars) && !pfile->state.skipping) in forms_identifier_p()
483 CPP_OPTION (pfile, warn_dollars) = 0; in forms_identifier_p()
[all …]
Dexpr.c253 if (radix == 16 && CPP_PEDANTIC (pfile) && !CPP_OPTION (pfile, c99)) in cpp_classify_number()
326 if (u_or_i || (large && CPP_OPTION (pfile, warn_long_long))) in cpp_classify_number()
333 && ! CPP_OPTION (pfile, c99) in cpp_classify_number()
334 && CPP_OPTION (pfile, warn_long_long)) in cpp_classify_number()
390 size_t precision = CPP_OPTION (pfile, precision); in cpp_interpret_integer()
445 && !(CPP_OPTION (pfile, traditional) in cpp_interpret_integer()
641 result = num_trim (result, CPP_OPTION (pfile, precision)); in eval_token()
649 else if (CPP_OPTION (pfile, cplusplus) in eval_token()
660 if (CPP_OPTION (pfile, warn_undef) && !pfile->state.skip_eval) in eval_token()
921 if (CPP_OPTION (pfile, warn_num_sign_change) in reduce()
[all …]
Dmacro.c200 if (CPP_OPTION (pfile, traditional)) in _cpp_builtin_macro_text()
268 if (CPP_OPTION (pfile, directives_only) && pfile->state.in_directive) in _cpp_builtin_macro_text()
480 if (CPP_OPTION (pfile, lang) != CLK_ASM) in paste_tokens()
695 && !CPP_OPTION (pfile, std)))) in collect_args()
1190 if (CPP_OPTION (pfile, traditional)) in cpp_scan_nooutput()
1263 if (CPP_OPTION (pfile, traditional)) in warn_of_redefinition()
1337 && ! CPP_OPTION (pfile, discard_comments_in_macro_exp)) in parse_params()
1379 if (! CPP_OPTION (pfile, c99) in parse_params()
1380 && CPP_OPTION (pfile, pedantic) in parse_params()
1381 && CPP_OPTION (pfile, warn_variadic_macros)) in parse_params()
[all …]
Ddirectives.c277 else if (CPP_OPTION (pfile, traditional)) in end_directive()
297 pfile->state.save_comments = ! CPP_OPTION (pfile, discard_comments); in end_directive()
386 if (CPP_OPTION (pfile, pedantic)) in _cpp_handle_directive()
402 else if (dname->type == CPP_NUMBER && CPP_OPTION (pfile, lang) != CLK_ASM) in _cpp_handle_directive()
405 if (CPP_PEDANTIC (pfile) && ! CPP_OPTION (pfile, preprocessed) in _cpp_handle_directive()
431 if (CPP_OPTION (pfile, preprocessed) in _cpp_handle_directive()
432 && !CPP_OPTION (pfile, directives_only) in _cpp_handle_directive()
446 if (! CPP_OPTION (pfile, preprocessed)) in _cpp_handle_directive()
460 if (CPP_OPTION (pfile, lang) == CLK_ASM) in _cpp_handle_directive()
468 if (CPP_OPTION (pfile, traditional)) in _cpp_handle_directive()
[all …]
Dinternal.h60 && CPP_OPTION (pfile, extended_numbers))))
62 #define CPP_OPTION(PFILE, OPTION) ((PFILE)->opts.OPTION) macro
472 #define _dollar_ok(x) ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident))
500 #define CPP_PEDANTIC(PF) CPP_OPTION (PF, pedantic)
501 #define CPP_WTRADITIONAL(PF) CPP_OPTION (PF, warn_traditional)
Dpch.c460 if (CPP_OPTION (r, preprocessed)) in cpp_valid_state()
483 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state()
495 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state()
536 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state()
556 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state()
721 if (deps_restore (r->deps, f, CPP_OPTION (r, restore_pch_deps) ? name : NULL) in cpp_read_state()
Dfiles.c317 if (CPP_OPTION (pfile, remap) && (path = remap_filename (pfile, file))) in find_file_in_dir()
624 file->buffer = _cpp_convert_input (pfile, CPP_OPTION (pfile, input_charset), in read_file_guts()
782 if (CPP_OPTION (pfile, deps.style) > !!sysp && !file->stack_count) in _cpp_stack_file()
784 if (!file->main_file || !CPP_OPTION (pfile, deps.ignore_main_file)) in _cpp_stack_file()
794 CPP_OPTION (pfile, preprocessed) in _cpp_stack_file()
795 && !CPP_OPTION (pfile, directives_only)); in _cpp_stack_file()
910 bool print_dep = CPP_OPTION (pfile, deps.style) > (angle_brackets || !!sysp); in open_file_failed()
913 if (print_dep && CPP_OPTION (pfile, deps.missing_files) && errno == ENOENT) in open_file_failed()
919 if (CPP_OPTION (pfile, deps.style) && ! print_dep) in open_file_failed()
1432 if (CPP_OPTION (pfile, print_include_names)) in validate_pch()
Dtraditional.c171 if (CPP_OPTION (pfile, discard_comments_in_macro_exp)) in copy_comment()
179 else if (CPP_OPTION (pfile, discard_comments)) in copy_comment()
617 && CPP_OPTION (pfile, lang) != CLK_ASM) in _cpp_scan_out_logical_line()
624 if (do_it || CPP_OPTION (pfile, lang) != CLK_ASM) in _cpp_scan_out_logical_line()
1010 CPP_OPTION (pfile, discard_comments_in_macro_exp)); in _cpp_create_trad_definition()
DChangeLog702 (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
/freebsd-12-stable/contrib/gcc/
Dc-ppoutput.c226 if (!CPP_OPTION (pfile, discard_comments)) in scan_translation_unit_trad()
318 if (!CPP_OPTION (pfile, traditional)) in cb_line_change()
DChangeLog-200023572 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
23659 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
23666 CPP_OPTION (pfile, whatever), and likewise for
23670 Extract CPP_OPTION (pfile, pending) and work with that
DChangeLog-200131719 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER,
31730 : Use options rather than CPP_OPTION.
31800 CPP_OPTION.
DChangeLog-200221586 * cppmacro.c (builtin_macro): Check CPP_OPTION (pfile,
DChangeLog-200332823 CPP_OPTION (pfile, sysroot).