[PR c++/84426] ICE after conflicting member decl
[official-gcc.git] / gcc / c-family / c-target.h
blob47e67d715698d511223d10b73f03062e765d89d2
1 /* Data structure definitions for target-specific C-family behavior.
2 Copyright (C) 2001-2018 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3, or (at your option) any
7 later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>.
18 In other words, you are welcome to use, share and improve this program.
19 You are forbidden to forbid anyone else to use, share and improve
20 what you give them. Help stamp out software-hoarding! */
22 #ifndef GCC_C_TARGET_H
23 #define GCC_C_TARGET_H
25 #define DEFHOOKPOD(NAME, DOC, TYPE, INIT) TYPE NAME;
26 #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS;
27 #define DEFHOOK_UNDOC DEFHOOK
28 #define HOOKSTRUCT(FRAGMENT) FRAGMENT
30 #include "c-target.def"
32 /* Each target can provide their own. */
33 extern struct gcc_targetcm targetcm;
35 #endif /* GCC_C_TARGET_H */