]> git.ipfire.org Git - thirdparty/gcc.git/commit
c-ada-spec.h (enum cpp_operation): Add IS_ASSIGNMENT_OPERATOR.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 21 May 2019 07:00:45 +0000 (07:00 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 21 May 2019 07:00:45 +0000 (07:00 +0000)
commit419ba5b941e67a85b7085fee91a20e4a93887af6
treed30a1288d57e6cdbaf961ba63a2c17cd50d768d2
parenteaa6a39d4288fef9c322e8fe6c45e621b22cdf3f
c-ada-spec.h (enum cpp_operation): Add IS_ASSIGNMENT_OPERATOR.

c-family/
* c-ada-spec.h (enum cpp_operation): Add IS_ASSIGNMENT_OPERATOR.
* c-ada-spec.c (print_assignment_operator): New function.
(dump_ada_declaration) <FUNCTION_DECL>: Call it do dump explicit copy
assignment operators declared as methods and filter out the others.
cp/
* decl2.c (cpp_check) <IS_ASSIGNMENT_OPERATOR>: New case.

From-SVN: r271457
gcc/ada/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/c-family/c-ada-spec.h
gcc/cp/ChangeLog
gcc/cp/decl2.c