Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-family/c-ada-spec.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Interface for -fdump-ada-spec capability. | 1 /* Interface for -fdump-ada-spec capability. |
2 Copyright (C) 2010-2018 Free Software Foundation, Inc. | 2 Copyright (C) 2010-2020 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
25 /* In c-ada-spec.c */ | 25 /* In c-ada-spec.c */ |
26 | 26 |
27 enum cpp_operation { | 27 enum cpp_operation { |
28 HAS_DEPENDENT_TEMPLATE_ARGS, | 28 HAS_DEPENDENT_TEMPLATE_ARGS, |
29 IS_ABSTRACT, | 29 IS_ABSTRACT, |
30 IS_ASSIGNMENT_OPERATOR, | |
30 IS_CONSTRUCTOR, | 31 IS_CONSTRUCTOR, |
31 IS_DESTRUCTOR, | 32 IS_DESTRUCTOR, |
32 IS_COPY_CONSTRUCTOR, | 33 IS_COPY_CONSTRUCTOR, |
33 IS_MOVE_CONSTRUCTOR, | 34 IS_MOVE_CONSTRUCTOR, |
34 IS_TEMPLATE, | 35 IS_TEMPLATE, |
35 IS_TRIVIAL | 36 IS_TRIVIAL |
36 }; | 37 }; |
37 | 38 |
38 extern location_t decl_sloc (const_tree, bool); | |
39 extern void collect_ada_nodes (tree, const char *); | 39 extern void collect_ada_nodes (tree, const char *); |
40 extern void collect_source_ref (const char *); | 40 extern void collect_source_ref (const char *); |
41 extern void dump_ada_specs (void (*)(const char *), | 41 extern void dump_ada_specs (void (*)(const char *), |
42 int (*)(tree, cpp_operation)); | 42 int (*)(tree, cpp_operation)); |
43 | 43 |