diff options
author | Patrick Palka <ppalka@redhat.com> | 2022-10-03 11:20:32 -0400 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2022-10-03 11:20:32 -0400 |
commit | 35b4cbbd70b70592bd7be3b4ff0550e0de1b3b30 (patch) | |
tree | 53d3f35131e949a76d7a4eab962c56e8c0627243 /gcc/cp/pt.cc | |
parent | 7cc9022f8d5c5cc02cc4f8af2f27184a81536fcf (diff) | |
download | gcc-35b4cbbd70b70592bd7be3b4ff0550e0de1b3b30.zip gcc-35b4cbbd70b70592bd7be3b4ff0550e0de1b3b30.tar.gz gcc-35b4cbbd70b70592bd7be3b4ff0550e0de1b3b30.tar.bz2 |
c++: rename IS_SAME_AS trait code to IS_SAME
... to match the trait's canonical spelling __is_same instead
of its alternative spelling __is_same_as.
gcc/c-family/ChangeLog:
* c-common.cc (c_common_reswords): Use RID_IS_SAME instead of
RID_IS_SAME_AS.
gcc/cp/ChangeLog:
* constraint.cc (diagnose_trait_expr): Use CPTK_IS_SAME instead
of CPTK_IS_SAME_AS.
* cp-trait.def (IS_SAME_AS): Rename to ...
(IS_SAME): ... this.
* pt.cc (alias_ctad_tweaks): Use CPTK_IS_SAME instead of
CPTK_IS_SAME_AS.
* semantics.cc (trait_expr_value): Likewise.
(finish_trait_expr): Likewise.
Diffstat (limited to 'gcc/cp/pt.cc')
-rw-r--r-- | gcc/cp/pt.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc index 258f76d..bce2a77 100644 --- a/gcc/cp/pt.cc +++ b/gcc/cp/pt.cc @@ -30029,7 +30029,7 @@ alias_ctad_tweaks (tree tmpl, tree uguides) /* FIXME this should mean they don't compare as equivalent. */ || dependent_alias_template_spec_p (atype, nt_opaque)) { - tree same = finish_trait_expr (loc, CPTK_IS_SAME_AS, atype, ret); + tree same = finish_trait_expr (loc, CPTK_IS_SAME, atype, ret); ci = append_constraint (ci, same); } |