annotate libcc1/names.hh @ 143:76e1cf5455ef

add cbc_gc test
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 23 Dec 2018 19:24:05 +0900
parents 84e7813d76e9
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* String declarations.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 2014-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
9 version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
14 for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 #ifndef CC1_PLUGIN_NAMES_HH
kono
parents:
diff changeset
21 #define CC1_PLUGIN_NAMES_HH
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 namespace cc1_plugin
kono
parents:
diff changeset
24 {
kono
parents:
diff changeset
25 #define GCC_METHOD0(R, N) \
kono
parents:
diff changeset
26 extern const char *N;
kono
parents:
diff changeset
27 #define GCC_METHOD1(R, N, A) \
kono
parents:
diff changeset
28 extern const char *N;
kono
parents:
diff changeset
29 #define GCC_METHOD2(R, N, A, B) \
kono
parents:
diff changeset
30 extern const char *N;
kono
parents:
diff changeset
31 #define GCC_METHOD3(R, N, A, B, C) \
kono
parents:
diff changeset
32 extern const char *N;
kono
parents:
diff changeset
33 #define GCC_METHOD4(R, N, A, B, C, D) \
kono
parents:
diff changeset
34 extern const char *N;
kono
parents:
diff changeset
35 #define GCC_METHOD5(R, N, A, B, C, D, E) \
kono
parents:
diff changeset
36 extern const char *N;
kono
parents:
diff changeset
37 #define GCC_METHOD7(R, N, A, B, C, D, E, F, G) \
kono
parents:
diff changeset
38 extern const char *N;
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 namespace c
kono
parents:
diff changeset
41 {
kono
parents:
diff changeset
42 // This code defines global string constants, one for each method in
kono
parents:
diff changeset
43 // gcc-c-fe.def. This is needed so that they can be used as
kono
parents:
diff changeset
44 // template arguments elsewhere.
kono
parents:
diff changeset
45 #include "gcc-c-fe.def"
kono
parents:
diff changeset
46 }
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 namespace cp
kono
parents:
diff changeset
49 {
kono
parents:
diff changeset
50 // This code defines global string constants, one for each method in
kono
parents:
diff changeset
51 // gcc-cp-fe.def. This is needed so that they can be used as
kono
parents:
diff changeset
52 // template arguments elsewhere.
kono
parents:
diff changeset
53 #include "gcc-cp-fe.def"
kono
parents:
diff changeset
54 }
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 #undef GCC_METHOD0
kono
parents:
diff changeset
57 #undef GCC_METHOD1
kono
parents:
diff changeset
58 #undef GCC_METHOD2
kono
parents:
diff changeset
59 #undef GCC_METHOD3
kono
parents:
diff changeset
60 #undef GCC_METHOD4
kono
parents:
diff changeset
61 #undef GCC_METHOD5
kono
parents:
diff changeset
62 #undef GCC_METHOD7
kono
parents:
diff changeset
63 };
kono
parents:
diff changeset
64
kono
parents:
diff changeset
65 #endif // CC1_PLUGIN_NAMES_HH