]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/c-family/c-pretty-print.h
PR c++/61339 - add mismatch between struct and class [-Wmismatched-tags] to non-bugs
[thirdparty/gcc.git] / gcc / c-family / c-pretty-print.h
index 6084dcf9c0652adeb90ca152d41e8e2d1e205a88..8c516c3e56b81eca2d66ff45c8902289520d8d0c 100644 (file)
@@ -47,8 +47,9 @@ typedef void (*c_pretty_print_fn) (c_pretty_printer *, tree);
    facilities provided here.  A derived pretty-printer can override
    any function listed in the vtable below.  See cp/cxx-pretty-print.h
    and cp/cxx-pretty-print.c for an example of derivation.  */
-struct c_pretty_printer : pretty_printer
+class c_pretty_printer : public pretty_printer
 {
+public:
   c_pretty_printer ();
 
   // Format string, possibly translated.