Daily bump.
[official-gcc.git] / libcc1 / names.cc
blob1248498abd88dbdc5761d5dc6c7bdc9e52c50e80
1 /* String definitions.
2 Copyright (C) 2014-2018 Free Software Foundation, Inc.
4 This file is part of GCC.
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
8 Software Foundation; either version 3, or (at your option) any later
9 version.
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
20 #include <cc1plugin-config.h>
21 #include "names.hh"
23 #define GCC_METHOD0(R, N) \
24 const char *cc1_plugin::LANG::N = # N;
25 #define GCC_METHOD1(R, N, A) \
26 const char *cc1_plugin::LANG::N = # N;
27 #define GCC_METHOD2(R, N, A, B) \
28 const char *cc1_plugin::LANG::N = # N;
29 #define GCC_METHOD3(R, N, A, B, C) \
30 const char *cc1_plugin::LANG::N = # N;
31 #define GCC_METHOD4(R, N, A, B, C, D) \
32 const char *cc1_plugin::LANG::N = # N;
33 #define GCC_METHOD5(R, N, A, B, C, D, E) \
34 const char *cc1_plugin::LANG::N = # N;
35 #define GCC_METHOD7(R, N, A, B, C, D, E, F, G) \
36 const char *cc1_plugin::LANG::N = # N;
38 #define LANG c
39 #include "gcc-c-fe.def"
40 #undef LANG
42 #define LANG cp
43 #include "gcc-cp-fe.def"
44 #undef LANG
46 #undef GCC_METHOD0
47 #undef GCC_METHOD1
48 #undef GCC_METHOD2
49 #undef GCC_METHOD3
50 #undef GCC_METHOD4
51 #undef GCC_METHOD5
52 #undef GCC_METHOD7