diff options
author | Jakub Jelinek <jakub@redhat.com> | 2024-07-23 10:39:08 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2024-07-23 10:39:08 +0200 |
commit | 58756c9f5507e5db0eaddcbaaa2de7f39c34b5d0 (patch) | |
tree | 96a30209edbd5ff1d5ce439e7b9496f0526bb832 /gcc/cp/cp-objcp-common.cc | |
parent | 44e065a52fa6069d6c8cacebc8f876840d278dd0 (diff) | |
download | gcc-58756c9f5507e5db0eaddcbaaa2de7f39c34b5d0.zip gcc-58756c9f5507e5db0eaddcbaaa2de7f39c34b5d0.tar.gz gcc-58756c9f5507e5db0eaddcbaaa2de7f39c34b5d0.tar.bz2 |
c++: Remove CHECK_CONSTR
On Mon, Jul 22, 2024 at 11:48:51AM -0400, Patrick Palka wrote:
> FWIW this tree code seems to be a vestige of the initial Concepts TS
> implementation and is effectively unused, we can remove it outright.
Here is a patch which removes that.
2024-07-23 Jakub Jelinek <jakub@redhat.com>
* cp-tree.def (CHECK_CONSTR): Remove.
* cp-tree.h (CHECK_CONSTR_CONCEPT, CHECK_CONSTR_ARGS): Remove.
* cp-objcp-common.cc (cp_common_init_ts): Don't handle CHECK_CONSTR.
* tree.cc (cp_tree_equal): Likewise.
* error.cc (dump_expr): Likewise.
* cxx-pretty-print.cc (cxx_pretty_printer::expression): Likewise.
(pp_cxx_check_constraint): Remove.
(pp_cxx_constraint): Don't handle CHECK_CONSTR.
Diffstat (limited to 'gcc/cp/cp-objcp-common.cc')
-rw-r--r-- | gcc/cp/cp-objcp-common.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/cp-objcp-common.cc b/gcc/cp/cp-objcp-common.cc index 86e0b49..cd37951 100644 --- a/gcc/cp/cp-objcp-common.cc +++ b/gcc/cp/cp-objcp-common.cc @@ -701,7 +701,6 @@ cp_common_init_ts (void) MARK_TS_EXP (UNARY_RIGHT_FOLD_EXPR); /* Constraints. */ - MARK_TS_EXP (CHECK_CONSTR); MARK_TS_EXP (COMPOUND_REQ); MARK_TS_EXP (CONJ_CONSTR); MARK_TS_EXP (DISJ_CONSTR); |