cxx-pretty-print.c (pp_cxx_check_constraint): Use VAR_P (x) instead of TREE_CODE...
authorJakub Jelinek <jakub@redhat.com>
Mon, 24 Oct 2016 16:04:01 +0000 (18:04 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 24 Oct 2016 16:04:01 +0000 (18:04 +0200)
commit86287716e8edba8da03305250e02e23eedc0d754
tree4162746b9bc8ce44af52f51250d517ce50e09dc2
parenta3f6007cbc84242c088097e46602a65f9654a349
cxx-pretty-print.c (pp_cxx_check_constraint): Use VAR_P (x) instead of TREE_CODE (x) == VAR_DECL.

* cxx-pretty-print.c (pp_cxx_check_constraint): Use VAR_P (x)
instead of TREE_CODE (x) == VAR_DECL.
* constraint.cc (get_concept_definition): Likewise.
(finish_shorthand_constraint): Likewise.
* init.c (warn_placement_new_too_small): Likewise.
* cp-gimplify.c (cp_genericize_r): Likewise.

From-SVN: r241480
gcc/cp/ChangeLog
gcc/cp/constraint.cc
gcc/cp/cp-gimplify.c
gcc/cp/cxx-pretty-print.c
gcc/cp/init.c