/openbsd/gnu/usr.bin/gcc/gcc/cp/ |
H A D | spew.c | 100 location_t locus; member 390 input->locus.file, input->locus.line, input->limit - input->pos); 394 f->locus.file = input_filename; 395 f->locus.line = lineno; 402 input_filename = input->locus.file; 403 lineno = input->locus.line; 416 input_filename = f->locus.file; in end_input() 417 lineno = f->locus.line; in end_input() 1058 alloc_unparsed_text (locus, decl, interface) in alloc_unparsed_text() argument 1059 const location_t *locus; in alloc_unparsed_text() [all …]
|
/openbsd/gnu/gcc/gcc/ |
H A D | pretty-print.c | 476 location_t *locus = va_arg (*text->args_ptr, location_t *); in pp_base_format() local 477 gcc_assert (text->locus != NULL); in pp_base_format() 478 *text->locus = *locus; in pp_base_format() 485 gcc_assert (text->locus != NULL); in pp_base_format() 486 *text->locus = DECL_SOURCE_LOCATION (t); in pp_base_format() 751 text.locus = NULL; in pp_printf() 769 text.locus = NULL; in pp_verbatim()
|
H A D | tree-mudflap.c | 499 location_t *locus, tree dirflag) in mf_build_check_statement_for() argument 558 SET_EXPR_LOCUS (t, locus); in mf_build_check_statement_for() 566 SET_EXPR_LOCUS (t, locus); in mf_build_check_statement_for() 581 SET_EXPR_LOCUS (t, locus); in mf_build_check_statement_for() 635 SET_EXPR_LOCUS (t, locus); in mf_build_check_statement_for() 661 mf_file_function_line_tree (locus == NULL ? UNKNOWN_LOCATION in mf_build_check_statement_for() 662 : *locus), in mf_build_check_statement_for() 721 location_t *locus, tree dirflag) in mf_xform_derefs_1() argument 894 mf_build_check_statement_for (base, limit, iter, locus, dirflag); in mf_xform_derefs_1()
|
H A D | c-objc-common.c | 176 if (set_locus && text->locus) in c_tree_printer() 177 *text->locus = DECL_SOURCE_LOCATION (t); in c_tree_printer()
|
H A D | c-omp.c | 207 c_finish_omp_for (location_t locus, tree decl, tree init, tree cond, in c_finish_omp_for() argument 210 location_t elocus = locus; in c_finish_omp_for() 380 SET_EXPR_LOCATION (t, locus); in c_finish_omp_for()
|
H A D | tree-ssa.c | 1157 location_t *locus, *fun_locus; in warn_uninit() local 1177 locus = (context != NULL && EXPR_HAS_LOCATION (context) in warn_uninit() 1180 warning (OPT_Wuninitialized, gmsgid, locus, var); in warn_uninit() 1182 if (locus->file != fun_locus->file in warn_uninit() 1183 || locus->line < fun_locus->line in warn_uninit() 1184 || locus->line > cfun->function_end_locus.line) in warn_uninit()
|
H A D | c-format.c | 2534 static tree locus; in init_dynamic_gfc_info() local 2536 if (!locus) in init_dynamic_gfc_info() 2544 if ((locus = maybe_get_identifier ("locus"))) in init_dynamic_gfc_info() 2546 locus = identifier_global_value (locus); in init_dynamic_gfc_info() 2547 if (locus) in init_dynamic_gfc_info() 2549 if (TREE_CODE (locus) != TYPE_DECL) in init_dynamic_gfc_info() 2552 locus = 0; in init_dynamic_gfc_info() 2555 locus = TREE_TYPE (locus); in init_dynamic_gfc_info() 2568 if (locus) in init_dynamic_gfc_info() 2571 gfc_fci[i].types[0].type = &locus; in init_dynamic_gfc_info()
|
H A D | tree.h | 1432 (EXPR_P (NODE) ? (NODE)->exp.locus : UNKNOWN_LOCATION) 1434 (EXPR_CHECK (NODE)->exp.locus = (FROM)) 1441 EXPR_CHECK (NODE)->exp.locus \ 1444 LOCATION_FILE (EXPR_CHECK (NODE)->exp.locus) 1446 LOCATION_LINE (EXPR_CHECK (NODE)->exp.locus) 1454 (EXPR_CHECK (NODE)->exp.locus = (FROM)) 1457 (EXPR_CHECK (NODE)->exp.locus->file) 1459 (EXPR_CHECK (NODE)->exp.locus->line) 1659 source_locus locus; member 1883 location_t locus; member [all …]
|
H A D | diagnostic.c | 403 diagnostic->message.locus = &diagnostic->location; in diagnostic_report_diagnostic() 461 text.locus = NULL; in verbatim()
|
H A D | tree-vrp.c | 4417 location_t locus; in vrp_evaluate_conditional() local 4420 locus = input_location; in vrp_evaluate_conditional() 4422 locus = EXPR_LOCATION (stmt); in vrp_evaluate_conditional() 4924 location_t locus; in simplify_div_or_mod_using_ranges() local 4927 locus = input_location; in simplify_div_or_mod_using_ranges() 4929 locus = EXPR_LOCATION (stmt); in simplify_div_or_mod_using_ranges() 4933 &locus); in simplify_div_or_mod_using_ranges() 5004 location_t locus; in simplify_abs_using_ranges() local 5007 locus = input_location; in simplify_abs_using_ranges() 5009 locus = EXPR_LOCATION (stmt); in simplify_abs_using_ranges() [all …]
|
H A D | stmt.c | 645 tree clobbers, int vol, location_t locus) in expand_asm_operands() argument 864 locus); in expand_asm_operands() 1012 i, argvec, constraintvec, locus)); in expand_asm_operands() 1396 warn_if_unused_value (tree exp, location_t locus) in warn_if_unused_value() argument 1409 locus = EXPR_LOCATION (exp); in warn_if_unused_value() 1443 if (warn_if_unused_value (TREE_OPERAND (exp, 0), locus)) in warn_if_unused_value() 1481 warning (0, "%Hvalue computed is not used", &locus); in warn_if_unused_value()
|
H A D | value-prof.c | 91 location_t * locus; in check_counter() local 92 locus = (stmt != NULL && EXPR_HAS_LOCATION (stmt) in check_counter() 96 locus, name, (int)all, (int)bb_count); in check_counter()
|
H A D | tree-cfg.c | 5741 location_t *locus; in execute_warn_function_return() 5754 locus = NULL; in execute_warn_function_return() 5763 && (locus = EXPR_LOCUS (last)) != NULL) in execute_warn_function_return() 5772 if (!locus) in execute_warn_function_return() 5773 locus = &cfun->function_end_locus; in execute_warn_function_return() 5774 warning (0, "%H%<noreturn%> function does return", locus); in execute_warn_function_return() 5798 locus = EXPR_LOCUS (last); in execute_warn_function_return() 5799 if (!locus) in execute_warn_function_return() 5800 locus = &cfun->function_end_locus; in execute_warn_function_return() 5801 warning (0, "%Hcontrol reaches end of non-void function", locus); in execute_warn_function_return()
|
H A D | pretty-print.h | 38 location_t *locus; member
|
H A D | toplev.c | 1450 if (set_locus && text->locus) in default_tree_printer() 1451 *text->locus = DECL_SOURCE_LOCATION (t); in default_tree_printer()
|
H A D | builtins.c | 10039 location_t locus = EXPR_LOCATION (exp); in expand_builtin_object_size() local 10044 &locus, fndecl); in expand_builtin_object_size() 10057 &locus, fndecl); in expand_builtin_object_size() 10101 location_t locus = EXPR_LOCATION (exp); in expand_builtin_memory_chk() local 10103 &locus, get_callee_fndecl (exp)); in expand_builtin_memory_chk() 10202 location_t locus; in maybe_emit_chk_warning() local 10254 locus = EXPR_LOCATION (exp); in maybe_emit_chk_warning() 10256 &locus, get_callee_fndecl (exp)); in maybe_emit_chk_warning() 10322 location_t locus = EXPR_LOCATION (exp); in maybe_emit_sprintf_chk_warning() local 10324 &locus, get_callee_fndecl (exp)); in maybe_emit_sprintf_chk_warning()
|
H A D | gimplify.c | 771 annotate_one_with_locus (tree t, location_t locus) in annotate_one_with_locus() argument 774 SET_EXPR_LOCATION (t, locus); in annotate_one_with_locus() 778 annotate_all_with_locus (tree *stmt_p, location_t locus) in annotate_all_with_locus() argument 794 annotate_one_with_locus (t, locus); in annotate_all_with_locus()
|
/openbsd/gnu/gcc/gcc/cp/ |
H A D | decl2.c | 2833 location_t *locus) in generate_ctor_or_dtor_function() argument 2841 input_location = *locus; in generate_ctor_or_dtor_function() 2845 locus->line++; in generate_ctor_or_dtor_function() 3037 location_t locus; in cp_finish_file() local 3042 locus = input_location; in cp_finish_file() 3157 input_location = locus; in cp_finish_file() 3183 input_location = locus; in cp_finish_file() 3194 locus.line++; in cp_finish_file() 3323 /*data=*/&locus); in cp_finish_file() 3330 DEFAULT_INIT_PRIORITY, &locus); in cp_finish_file() [all …]
|
H A D | typeck2.c | 135 location_t locus; member 222 input_location = pat->locus; in complete_type_check_abstract() 271 pat->locus = ((decl && DECL_P (decl)) in abstract_virtuals_error()
|
H A D | semantics.c | 3776 finish_omp_for (location_t locus, tree decl, tree init, tree cond, in finish_omp_for() argument 3815 error ("%Hmissing controlling predicate", &locus); in finish_omp_for() 3821 error ("%Hmissing increment expression", &locus); in finish_omp_for() 3839 SET_EXPR_LOCATION (stmt, locus); in finish_omp_for() 3857 return c_finish_omp_for (locus, decl, init, cond, incr, body, pre_body); in finish_omp_for()
|
H A D | ChangeLog.tree-ssa | 3 * except.c (check_handlers_1): Use locus stored in master for warning. 17 * parser.c (cp_parser_statement): Save and restore entire locus;
|
H A D | error.c | 2329 if (text->locus == NULL) in cp_printer() 2367 *text->locus = location_of (t); in cp_printer()
|
H A D | decl.c | 2326 identify_goto (tree decl, const location_t *locus) in identify_goto() argument 2332 if (locus) in identify_goto() 2333 pedwarn ("%H from here", locus); in identify_goto() 2344 bool exited_omp, const location_t *locus) in check_previous_goto_1() argument 2351 identify_goto (decl, locus); in check_previous_goto_1() 2369 identify_goto (decl, locus); in check_previous_goto_1() 2384 identify_goto (decl, locus); in check_previous_goto_1() 2397 identify_goto (decl, locus); in check_previous_goto_1()
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | diagnostic.c | 596 const location_t *locus = va_arg (*text->args_ptr, location_t *); local 598 output_add_string (buffer, locus->file); 600 output_decimal (buffer, locus->line); 801 text_specifies_location (text, locus) in text_specifies_location() argument 803 location_t *locus; 813 *locus = *va_arg (*text->args_ptr, location_t *);
|
H A D | c-typeck.c | 5081 const char *locus; local 5121 locus = IDENTIFIER_POINTER (DECL_NAME (decl)); 5127 locus = "(anonymous)"; 5139 if (locus) 5140 push_string (locus);
|