summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r--gcc/pretty-print.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h
index 9b9b2cf29ff..a60be3285ea 100644
--- a/gcc/pretty-print.h
+++ b/gcc/pretty-print.h
@@ -74,6 +74,7 @@ struct chunk_info
struct output_buffer
{
output_buffer ();
+ ~output_buffer ();
/* Obstack where the text is built up. */
struct obstack formatted_obstack;
@@ -165,6 +166,8 @@ struct pretty_printer
// and a maximum line length cut off limit.
explicit pretty_printer (const char* = NULL, int = 0);
+ virtual ~pretty_printer ();
+
/* Where we print external representation of ENTITY. */
output_buffer *buffer;