aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-ada-spec.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2019-05-21 07:00:45 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-05-21 07:00:45 +0000
commit419ba5b941e67a85b7085fee91a20e4a93887af6 (patch)
treed30a1288d57e6cdbaf961ba63a2c17cd50d768d2 /gcc/c-family/c-ada-spec.h
parenteaa6a39d4288fef9c322e8fe6c45e621b22cdf3f (diff)
downloadgcc-419ba5b941e67a85b7085fee91a20e4a93887af6.zip
gcc-419ba5b941e67a85b7085fee91a20e4a93887af6.tar.gz
gcc-419ba5b941e67a85b7085fee91a20e4a93887af6.tar.bz2
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
Diffstat (limited to 'gcc/c-family/c-ada-spec.h')
-rw-r--r--gcc/c-family/c-ada-spec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-family/c-ada-spec.h b/gcc/c-family/c-ada-spec.h
index 5993662..f9ea1bc 100644
--- a/gcc/c-family/c-ada-spec.h
+++ b/gcc/c-family/c-ada-spec.h
@@ -27,6 +27,7 @@ along with GCC; see the file COPYING3. If not see
enum cpp_operation {
HAS_DEPENDENT_TEMPLATE_ARGS,
IS_ABSTRACT,
+ IS_ASSIGNMENT_OPERATOR,
IS_CONSTRUCTOR,
IS_DESTRUCTOR,
IS_COPY_CONSTRUCTOR,