[C++ PATCH] overloaded operator fns [8/N]
authorNathan Sidwell <nathan@acm.org>
Thu, 2 Nov 2017 18:29:26 +0000 (18:29 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 2 Nov 2017 18:29:26 +0000 (18:29 +0000)
commit9918e7966c0d51e25b14a99adf87e2fbbe97c2e0
tree3b70db062b6d1f096f376d65783b7e331d9a1514
parentdfa65d3fd1bfe62e2c831f7accf67855219b917f
[C++ PATCH] overloaded operator fns [8/N]

https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00095.html
* cp-tree.h (IDENTIFIER_NEWDEL_OP_P): Restore, adjust.
(IDENTIFIER_NEW_OP_P): New.
* decl.c (grokdeclarator): Restore IDENTIFIER_NEWDEL_OP_P use.
* pt.c (push_template_decl_real): Likewise.
* typeck.c (check_return_expr): Use IDENTIFIER_NEW_OP_P.

From-SVN: r254350
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/typeck.c