diff options
author | Marek Polacek <polacek@redhat.com> | 2024-09-24 17:54:04 -0400 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-09-25 09:52:22 -0400 |
commit | 1fea6f82489006cfec3171f77bde8b5ed3527616 (patch) | |
tree | e6d422432a9cf3622c1b53cc7b8dc91cb2939b4a /gcc/tree-vectorizer.h | |
parent | 08b8341f209be7c7e301853bdbbcad4f8e1695f5 (diff) | |
download | gcc-1fea6f82489006cfec3171f77bde8b5ed3527616.zip gcc-1fea6f82489006cfec3171f77bde8b5ed3527616.tar.gz gcc-1fea6f82489006cfec3171f77bde8b5ed3527616.tar.bz2 |
c++: use TARGET_EXPR accessors
While futzing around with PR116416 I noticed that we can use
the _SLOT and _INITIAL macros to make the code more readable.
gcc/c-family/ChangeLog:
* c-pretty-print.cc (c_pretty_printer::primary_expression): Use
TARGET_EXPR accessors.
(c_pretty_printer::expression): Likewise.
gcc/cp/ChangeLog:
* coroutines.cc (build_co_await): Use TARGET_EXPR accessors.
(finish_co_yield_expr): Likewise.
(register_awaits): Likewise.
(tmp_target_expr_p): Likewise.
(flatten_await_stmt): Likewise.
* error.cc (dump_expr): Likewise.
* semantics.cc (finish_omp_target_clauses): Likewise.
* tree.cc (bot_manip): Likewise.
(cp_tree_equal): Likewise.
* typeck.cc (cxx_mark_addressable): Likewise.
(cp_build_compound_expr): Likewise.
(cp_build_modify_expr): Likewise.
(check_return_expr): Likewise.
Reviewed-by: Jason Merrill <jason@redhat.com>
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions