/openbsd/gnu/gcc/libcpp/ |
H A D | init.c | 103 CPP_OPTION (pfile, lang) = lang; in cpp_set_lang() 153 CPP_OPTION (pfile, tabstop) = 8; in cpp_create_reader() 158 CPP_OPTION (pfile, warn_long_long) = !CPP_OPTION (pfile, c99); in cpp_create_reader() 362 || CPP_OPTION (pfile, std)) in cpp_init_builtins() 382 else if (CPP_OPTION (pfile, c99)) in cpp_init_builtins() 390 if (CPP_OPTION (pfile, objc)) in cpp_init_builtins() 416 if (CPP_OPTION (pfile, precision) < CPP_OPTION (pfile, int_precision)) in sanity_checks() 423 if (CPP_OPTION (pfile, wchar_precision) < CPP_OPTION (pfile, char_precision)) in sanity_checks() 427 if (CPP_OPTION (pfile, int_precision) < CPP_OPTION (pfile, char_precision)) in sanity_checks() 457 if (CPP_OPTION (pfile, cplusplus) && CPP_OPTION (pfile, operator_names)) in cpp_post_options() [all …]
|
H A D | errors.c | 60 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()
|
H A D | charset.c | 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() 852 || (CPP_OPTION (pfile, cplusplus) 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() 1007 CPP_OPTION (pfile, warn_dollars) = 0; in _cpp_valid_ucn() 1127 : CPP_OPTION (pfile, char_precision)); in convert_hex() 1178 : CPP_OPTION (pfile, char_precision)); in convert_oct() 1424 unsigned_p = CPP_OPTION (pfile, unsigned_char); in narrow_str_to_charconst() 1431 width = CPP_OPTION (pfile, int_precision); in narrow_str_to_charconst() [all …]
|
H A D | lex.c | 153 if (CPP_OPTION (pfile, trigraphs)) in _cpp_clean_line() 194 if (CPP_OPTION (pfile, trigraphs)) in _cpp_clean_line() 236 if (CPP_OPTION (pfile, trigraphs)) in warn_in_comment() 286 if (CPP_OPTION (pfile, warn_trigraphs) in _cpp_process_line_notes() 289 if (CPP_OPTION (pfile, trigraphs)) in _cpp_process_line_notes() 338 if (CPP_OPTION (pfile, warn_comments) in _cpp_skip_block_comment() 471 CPP_OPTION (pfile, warn_dollars) = 0; in forms_identifier_p() 479 if (CPP_OPTION (pfile, extended_identifiers) in forms_identifier_p() 1056 else if (CPP_OPTION (pfile, digraphs)) in _cpp_lex_direct() 1088 else if (CPP_OPTION (pfile, digraphs)) in _cpp_lex_direct() [all …]
|
H A D | expr.c | 330 && ! CPP_OPTION (pfile, c99) in cpp_classify_number() 331 && CPP_OPTION (pfile, warn_long_long)) in cpp_classify_number() 387 size_t precision = CPP_OPTION (pfile, precision); in cpp_interpret_integer() 442 && !(CPP_OPTION (pfile, traditional) in cpp_interpret_integer() 646 else if (CPP_OPTION (pfile, cplusplus) in eval_token() 918 if (CPP_OPTION (pfile, warn_num_sign_change) in reduce() 1339 num = num_trim (num, CPP_OPTION (pfile, precision)); in num_unary_op() 1359 size_t precision = CPP_OPTION (pfile, precision); in num_binary_op() 1408 if (CPP_PEDANTIC (pfile) && (!CPP_OPTION (pfile, c99) in num_binary_op() 1458 size_t precision = CPP_OPTION (pfile, precision); in num_mul() [all …]
|
H A D | macro.c | 199 if (CPP_OPTION (pfile, traditional)) in _cpp_builtin_macro_text() 678 && !CPP_OPTION (pfile, std)))) in collect_args() 1173 if (CPP_OPTION (pfile, traditional)) in cpp_scan_nooutput() 1246 if (CPP_OPTION (pfile, traditional)) in warn_of_redefinition() 1362 if (! CPP_OPTION (pfile, c99) in parse_params() 1363 && CPP_OPTION (pfile, pedantic) in parse_params() 1368 else if (CPP_OPTION (pfile, pedantic) in parse_params() 1456 if (CPP_OPTION (pfile, c99)) in create_iso_definition() 1589 if (CPP_OPTION (pfile, traditional)) in _cpp_create_definition() 1722 if (CPP_OPTION (pfile, traditional)) in cpp_macro_definition() [all …]
|
H A D | internal.h | 60 && CPP_OPTION (pfile, extended_numbers)))) 62 #define CPP_OPTION(PFILE, OPTION) ((PFILE)->opts.OPTION) macro 460 #define _dollar_ok(x) ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident)) 488 #define CPP_PEDANTIC(PF) CPP_OPTION (PF, pedantic) 489 #define CPP_WTRADITIONAL(PF) CPP_OPTION (PF, warn_traditional)
|
H A D | directives.c | 277 else if (CPP_OPTION (pfile, traditional)) in end_directive() 386 if (CPP_OPTION (pfile, pedantic)) in _cpp_handle_directive() 427 if (CPP_OPTION (pfile, preprocessed) in _cpp_handle_directive() 441 if (! CPP_OPTION (pfile, preprocessed)) in _cpp_handle_directive() 455 if (CPP_OPTION (pfile, lang) == CLK_ASM) in _cpp_handle_directive() 463 if (CPP_OPTION (pfile, traditional)) in _cpp_handle_directive() 497 if (CPP_OPTION (pfile, traditional)) in run_directive() 552 ! CPP_OPTION (pfile, discard_comments_in_macro_exp); in do_define() 579 if (CPP_OPTION (pfile, warn_unused_macros)) in do_undef() 693 if (buf == NULL || CPP_OPTION (pfile, discard_comments)) in parse_include() [all …]
|
H A D | pch.c | 442 if (CPP_OPTION (r, preprocessed)) in cpp_valid_state() 465 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state() 477 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state() 518 if (CPP_OPTION (r, warn_invalid_pch)) in cpp_valid_state() 686 if (deps_restore (r->deps, f, CPP_OPTION (r, restore_pch_deps) ? name : NULL) in cpp_read_state()
|
H A D | files.c | 315 if (CPP_OPTION (pfile, remap) && (path = remap_filename (pfile, file))) in find_file_in_dir() 555 file->buffer = _cpp_convert_input (pfile, CPP_OPTION (pfile, input_charset), in read_file_guts() 713 if (CPP_OPTION (pfile, deps.style) > !!sysp && !file->stack_count) in _cpp_stack_file() 715 if (!file->main_file || !CPP_OPTION (pfile, deps.ignore_main_file)) in _cpp_stack_file() 725 CPP_OPTION (pfile, preprocessed)); in _cpp_stack_file() 840 bool print_dep = CPP_OPTION (pfile, deps.style) > (angle_brackets || !!sysp); in open_file_failed() 843 if (print_dep && CPP_OPTION (pfile, deps.missing_files) && errno == ENOENT) in open_file_failed() 849 if (CPP_OPTION (pfile, deps.style) && ! print_dep) in open_file_failed() 1346 if (CPP_OPTION (pfile, print_include_names)) in validate_pch()
|
H A D | traditional.c | 171 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()
|
H A D | ChangeLog | 702 (do_pragma): If CPP_OPTION (pfile, defer_pragmas) and this isn't
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | cppinit.c | 286 if (CPP_OPTION (pfile, verbose)) 462 CPP_OPTION (pfile, lang) = lang; 529 CPP_OPTION (pfile, tabstop) = 8; 532 CPP_OPTION (pfile, warn_long_long) = !CPP_OPTION (pfile, c99); 535 CPP_OPTION (pfile, pending) = 747 if (CPP_OPTION (pfile, objc)) 775 switch ((CPP_OPTION (pfile, objc) << 1) + CPP_OPTION (pfile, cplusplus)) 923 if (CPP_OPTION (pfile, precision) < CPP_OPTION (pfile, int_precision)) 930 if (CPP_OPTION (pfile, wchar_precision) < CPP_OPTION (pfile, char_precision)) 934 if (CPP_OPTION (pfile, int_precision) < CPP_OPTION (pfile, char_precision)) [all …]
|
H A D | cpperror.c | 58 else if (CPP_OPTION (pfile, show_column) == 0) 85 && ! CPP_OPTION (pfile, warn_system_headers)) 90 if (CPP_OPTION (pfile, warnings_are_errors) 91 || (level == DL_PEDWARN && CPP_OPTION (pfile, pedantic_errors))) 93 if (CPP_OPTION (pfile, inhibit_errors)) 98 else if (CPP_OPTION (pfile, inhibit_warnings)) 103 if (CPP_OPTION (pfile, inhibit_errors)) 140 if (CPP_OPTION (pfile, traditional)) in cpp_error()
|
H A D | cpplex.c | 141 accept = CPP_OPTION (pfile, trigraphs); 283 if (CPP_OPTION (pfile, warn_comments) 366 buffer->col_adjust += (CPP_OPTION (pfile, tabstop) 367 - col % CPP_OPTION (pfile, tabstop)) - 1; 893 if (CPP_OPTION (pfile, traditional)) 1253 if (CPP_OPTION (pfile, cplusplus)) 1334 if (CPP_OPTION (pfile, dollars_in_ident)) 1688 if (! (CPP_OPTION (pfile, cplusplus) || CPP_OPTION (pfile, c99))) 1761 width = CPP_OPTION (pfile, wchar_precision); 1763 width = CPP_OPTION (pfile, char_precision); [all …]
|
H A D | cppfiles.c | 357 /* from_stage3 */ CPP_OPTION (pfile, preprocessed), 0); 551 if (CPP_OPTION (pfile, remap)) 588 path = CPP_OPTION (pfile, bracket_include); 611 if (CPP_OPTION (pfile, remap)) 689 if (CPP_OPTION (pfile, deps.missing_files) && print_dep) 808 if (CPP_OPTION (pfile, ignore_srcdir)) 809 return CPP_OPTION (pfile, quote_include); 836 buffer->dir.next = CPP_OPTION (pfile, quote_include); 907 for (map_list_ptr = CPP_OPTION (pfile, map_list); map_list_ptr; 967 map_list_ptr->map_list_next = CPP_OPTION (pfile, map_list); [all …]
|
H A D | cppexp.c | 304 && ! CPP_OPTION (pfile, c99) 305 && CPP_OPTION (pfile, warn_long_long)) 360 size_t precision = CPP_OPTION (pfile, precision); 415 && !(CPP_OPTION (pfile, traditional) 623 else if (CPP_OPTION (pfile, cplusplus) 913 if (CPP_OPTION (pfile, warn_num_sign_change) 1356 num = num_negate (num, CPP_OPTION (pfile, precision)); 1362 num = num_trim (num, CPP_OPTION (pfile, precision)); 1385 size_t precision = CPP_OPTION (pfile, precision); 1502 size_t precision = CPP_OPTION (pfile, precision); [all …]
|
H A D | cpplib.c | 248 if (CPP_OPTION (pfile, traditional)) 356 if (CPP_OPTION (pfile, pedantic)) 397 if (CPP_OPTION (pfile, preprocessed) 411 if (! CPP_OPTION (pfile, preprocessed)) 425 if (CPP_OPTION (pfile, lang) == CLK_ASM) 433 if (CPP_OPTION (pfile, traditional)) 470 if (CPP_OPTION (pfile, traditional)) 529 ! CPP_OPTION (pfile, discard_comments_in_macro_exp); 554 if (CPP_OPTION (pfile, warn_unused_macros)) 670 else if (type == IT_IMPORT && CPP_OPTION (pfile, warn_import)) [all …]
|
H A D | cppmacro.c | 177 if (CPP_OPTION (pfile, traditional)) 193 && !CPP_OPTION (pfile,std)) 502 if (CPP_OPTION (pfile, lang) != CLK_ASM) 688 && !CPP_OPTION (pfile, std)))) 1205 if (CPP_OPTION (pfile, traditional)) 1279 if (CPP_OPTION (pfile, traditional)) 1389 if (! CPP_OPTION (pfile, c99) && CPP_OPTION (pfile, pedantic)) 1393 else if (CPP_OPTION (pfile, pedantic)) 1565 if (CPP_OPTION (pfile, traditional)) 1696 if (CPP_OPTION (pfile, traditional)) [all …]
|
H A D | cpphash.h | 44 && CPP_OPTION (pfile, extended_numbers)))) 46 #define CPP_OPTION(PFILE, OPTION) ((PFILE)->opts.OPTION) macro 468 #define _dollar_ok(x) ((x) == '$' && CPP_OPTION (pfile, dollars_in_ident)) 491 #define CPP_PEDANTIC(PF) CPP_OPTION (PF, pedantic) 492 #define CPP_WTRADITIONAL(PF) CPP_OPTION (PF, warn_traditional)
|
H A D | cppmain.c | 208 if (!CPP_OPTION (pfile, discard_comments)) 257 if (! CPP_OPTION (pfile, no_line_commands)) 301 if (!CPP_OPTION (pfile, traditional)) 335 if (CPP_OPTION (pfile, dump_macros) == dump_definitions) 384 if (!CPP_OPTION (pfile, preprocessed))
|
H A D | cpptrad.c | 197 && CPP_OPTION (pfile, warn_comments)) 225 if (CPP_OPTION (pfile, discard_comments_in_macro_exp)) 233 else if (CPP_OPTION (pfile, discard_comments)) 714 && CPP_OPTION (pfile, lang) != CLK_ASM) 721 if (do_it || CPP_OPTION (pfile, lang) != CLK_ASM) 1111 CPP_OPTION (pfile, discard_comments_in_macro_exp));
|
H A D | ChangeLog.3 | 8306 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with 8393 packing. Replace CPP_OPTIONS macro with CPP_OPTION which 8400 CPP_OPTION (pfile, whatever), and likewise for 8404 Extract CPP_OPTION (pfile, pending) and work with that
|
H A D | ChangeLog.5 | 12512 struct spec_nodes, struct cpp_reader, CPP_OPTION, CPP_BUFFER, 12523 : Use options rather than CPP_OPTION. 12593 CPP_OPTION.
|
/openbsd/gnu/gcc/gcc/ |
H A D | c-ppoutput.c | 201 if (!CPP_OPTION (pfile, discard_comments)) in scan_translation_unit_trad() 293 if (!CPP_OPTION (pfile, traditional)) in cb_line_change()
|