1*e4b17023SJohn Marino /* Interface for -fdump-ada-spec capability. 2*e4b17023SJohn Marino Copyright (C) 2010, Free Software Foundation, Inc. 3*e4b17023SJohn Marino 4*e4b17023SJohn Marino This file is part of GCC. 5*e4b17023SJohn Marino 6*e4b17023SJohn Marino GCC is free software; you can redistribute it and/or modify it under 7*e4b17023SJohn Marino the terms of the GNU General Public License as published by the Free 8*e4b17023SJohn Marino Software Foundation; either version 3, or (at your option) any later 9*e4b17023SJohn Marino version. 10*e4b17023SJohn Marino 11*e4b17023SJohn Marino GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12*e4b17023SJohn Marino WARRANTY; without even the implied warranty of MERCHANTABILITY or 13*e4b17023SJohn Marino FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14*e4b17023SJohn Marino for more details. 15*e4b17023SJohn Marino 16*e4b17023SJohn Marino You should have received a copy of the GNU General Public License 17*e4b17023SJohn Marino along with GCC; see the file COPYING3. If not see 18*e4b17023SJohn Marino <http://www.gnu.org/licenses/>. */ 19*e4b17023SJohn Marino 20*e4b17023SJohn Marino #ifndef C_ADA_SPEC_H 21*e4b17023SJohn Marino #define C_ADA_SPEC_H 22*e4b17023SJohn Marino 23*e4b17023SJohn Marino #include "pretty-print.h" 24*e4b17023SJohn Marino 25*e4b17023SJohn Marino /* In c-ada-spec.c */ 26*e4b17023SJohn Marino 27*e4b17023SJohn Marino typedef enum { 28*e4b17023SJohn Marino IS_ABSTRACT, 29*e4b17023SJohn Marino IS_CONSTRUCTOR, 30*e4b17023SJohn Marino IS_DESTRUCTOR, 31*e4b17023SJohn Marino IS_COPY_CONSTRUCTOR, 32*e4b17023SJohn Marino IS_TEMPLATE 33*e4b17023SJohn Marino } cpp_operation; 34*e4b17023SJohn Marino 35*e4b17023SJohn Marino extern location_t decl_sloc (const_tree, bool); 36*e4b17023SJohn Marino extern void collect_ada_nodes (tree, const char *); 37*e4b17023SJohn Marino extern void collect_source_ref (const char *); 38*e4b17023SJohn Marino extern void dump_ada_specs (void (*)(const char *), 39*e4b17023SJohn Marino int (*)(tree, cpp_operation)); 40*e4b17023SJohn Marino 41*e4b17023SJohn Marino #endif /* ! C_ADA_SPEC_H */ 42