Mercurial > hg > CbC > CbC_gcc
comparison gcc/cp/cxx-pretty-print.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Interface for the GNU C++ pretty-printer. | 1 /* Interface for the GNU C++ pretty-printer. |
2 Copyright (C) 2003-2018 Free Software Foundation, Inc. | 2 Copyright (C) 2003-2020 Free Software Foundation, Inc. |
3 Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net> | 3 Contributed by Gabriel Dos Reis <gdr@integrable-solutions.net> |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify it under | 7 GCC is free software; you can redistribute it and/or modify it under |
27 { | 27 { |
28 /* Ask for a qualified-id. */ | 28 /* Ask for a qualified-id. */ |
29 pp_cxx_flag_default_argument = 1 << pp_c_flag_last_bit | 29 pp_cxx_flag_default_argument = 1 << pp_c_flag_last_bit |
30 }; | 30 }; |
31 | 31 |
32 struct cxx_pretty_printer : c_pretty_printer | 32 class cxx_pretty_printer : public c_pretty_printer |
33 { | 33 { |
34 public: | |
34 cxx_pretty_printer (); | 35 cxx_pretty_printer (); |
36 | |
37 pretty_printer *clone () const OVERRIDE; | |
35 | 38 |
36 void constant (tree); | 39 void constant (tree); |
37 void id_expression (tree); | 40 void id_expression (tree); |
38 void primary_expression (tree); | 41 void primary_expression (tree); |
39 void postfix_expression (tree); | 42 void postfix_expression (tree); |