]> gcc.gnu.org Git - gcc.git/blame - gcc/hooks.c
cp-tree.h (complete_type_or_diagnostic): Changed prototype, renamed from...
[gcc.git] / gcc / hooks.c
CommitLineData
e4ec2cac
AO
1/* General-purpose hooks.
2 Copyright (C) 2002 Free Software Foundation, Inc.
3
4This program is free software; you can redistribute it and/or modify it
5under the terms of the GNU General Public License as published by the
6Free Software Foundation; either version 2, or (at your option) any
7later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
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! */
21
22/* This file contains generic hooks that can be used as defaults for
23 target or language-dependent hook initializers. */
24
25#include "config.h"
26#include "system.h"
27#include "hooks.h"
28
29/* Generic hook that takes no arguments and returns false. */
30bool
31hook_void_bool_false ()
32{
33 return false;
34}
ae46c4e0
RH
35
36/* Generic hook that takes (tree) and returns false. */
37bool
38hook_tree_bool_false (a)
39 tree a ATTRIBUTE_UNUSED;
40{
41 return false;
42}
This page took 0.122118 seconds and 5 git commands to generate.