tree.c (cp_expr_location): New.
authorJason Merrill <jason@redhat.com>
Tue, 19 Jun 2018 00:38:44 +0000 (20:38 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 19 Jun 2018 00:38:44 +0000 (20:38 -0400)
commit6bdfada421e21cbeb4cfb29b2566ac6075be463a
tree74cc71c125d772adebe67c6d5bb27461e03218ae
parentc0e11c6afb448b0a9423b62c86c207945a0f5335
tree.c (cp_expr_location): New.

* tree.c (cp_expr_location): New.

* cp-tree.h (cp_expr_loc_or_loc): New.
* call.c, cvt.c, constexpr.c, constraint.cc, cp-gimplify.c, decl.c,
error.c, init.c, lex.c, parser.c, pt.c, semantics.c, typeck.c,
typeck2.c: Use it instead of EXPR_LOC_OR_LOC.

From-SVN: r261728
18 files changed:
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/constexpr.c
gcc/cp/constraint.cc
gcc/cp/cp-gimplify.c
gcc/cp/cp-tree.h
gcc/cp/cvt.c
gcc/cp/decl.c
gcc/cp/error.c
gcc/cp/init.c
gcc/cp/lex.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/cp/typeck2.c
gcc/testsuite/g++.dg/cpp0x/lambda/lambda-variadic7.C