]> git.ipfire.org Git - thirdparty/gcc.git/commit
c++: use _P() defines from tree.h
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Sat, 13 May 2023 22:44:12 +0000 (00:44 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Thu, 18 May 2023 19:49:02 +0000 (21:49 +0200)
commit8861c80733da5cb0bcbd6a470de229ed93663949
tree6e1499f923af5c987d835f8c980e4c090a7acba8
parent9907413a3a6aa30a4a6db4756c445b40f04597f3
c++: use _P() defines from tree.h

gcc/cp/ChangeLog:

* call.cc (promoted_arithmetic_type_p): Use _P defines from tree.h.
(build_conditional_expr): Ditto.
(convert_like_internal): Ditto.
(convert_arg_to_ellipsis): Ditto.
(build_over_call): Ditto.
(compare_ics): Ditto.
* class.cc (is_empty_base_ref): Ditto.
* coroutines.cc (rewrite_param_uses): Ditto.
* cp-tree.h (DECL_DISCRIMINATOR_P): Ditto.
(ARITHMETIC_TYPE_P): Ditto.
* cvt.cc (ocp_convert): Ditto.
* cxx-pretty-print.cc (pp_cxx_template_argument_list): Ditto.
* decl.cc (layout_var_decl): Ditto.
(get_tuple_size): Ditto.
* error.cc (dump_simple_decl): Ditto.
* lambda.cc (start_lambda_scope): Ditto.
* mangle.cc (write_template_arg): Ditto.
* method.cc (spaceship_comp_cat): Ditto.
* module.cc (node_template_info): Ditto.
(trees_out::start): Ditto.
(trees_out::decl_node): Ditto.
(trees_in::read_var_def): Ditto.
(set_instantiating_module): Ditto.
* name-lookup.cc (maybe_record_mergeable_decl): Ditto.
(consider_decl): Ditto.
(maybe_add_fuzzy_decl): Ditto.
* pt.cc (convert_nontype_argument): Ditto.
* semantics.cc (handle_omp_array_sections_1): Ditto.
(finish_omp_clauses): Ditto.
(finish_omp_target_clauses_r): Ditto.
(is_this_parameter): Ditto.
* tree.cc (build_cplus_array_type): Ditto.
(is_this_expression): Ditto.
* typeck.cc (do_warn_enum_conversions): Ditto.
* typeck2.cc (store_init_value): Ditto.
(check_narrowing): Ditto.
18 files changed:
gcc/cp/call.cc
gcc/cp/class.cc
gcc/cp/coroutines.cc
gcc/cp/cp-tree.h
gcc/cp/cvt.cc
gcc/cp/cxx-pretty-print.cc
gcc/cp/decl.cc
gcc/cp/error.cc
gcc/cp/lambda.cc
gcc/cp/mangle.cc
gcc/cp/method.cc
gcc/cp/module.cc
gcc/cp/name-lookup.cc
gcc/cp/pt.cc
gcc/cp/semantics.cc
gcc/cp/tree.cc
gcc/cp/typeck.cc
gcc/cp/typeck2.cc