File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed
Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ Author: Daniel Kroening, kroening@kroening.com
1010#ifndef CPROVER_UTIL_MESSAGE_H
1111#define CPROVER_UTIL_MESSAGE_H
1212
13+ #include " invariant.h"
14+ #include " source_location.h"
15+
1316#include < functional>
1417#include < iosfwd>
1518#include < sstream>
1619#include < string>
1720
18- #include " deprecate.h"
19- #include " invariant.h"
20- #include " source_location.h"
21-
2221class json_objectt ;
2322class jsont ;
2423class structured_datat ;
@@ -191,13 +190,6 @@ class messaget
191190
192191 // constructors, destructor
193192
194- DEPRECATED (SINCE(2019 , 1 , 7 , " use messaget(message_handler) instead" ))
195- messaget ():
196- message_handler (nullptr ),
197- mstream (M_DEBUG, *this )
198- {
199- }
200-
201193 messaget (const messaget &other):
202194 message_handler (other.message_handler),
203195 mstream (other.mstream, *this )
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ Author: Daniel Kroening, kroening@kroening.com
1212#ifndef CPROVER_UTIL_PARSER_H
1313#define CPROVER_UTIL_PARSER_H
1414
15- #include " deprecate.h"
1615#include " expr.h"
1716#include " message.h"
1817
@@ -30,11 +29,6 @@ class parsert
3029
3130 std::vector<exprt> stack;
3231
33- DEPRECATED (SINCE(2023 , 12 , 20 , " use parsert(message_handler) instead" ))
34- parsert () : in(nullptr ), line_no(0 ), previous_line_no(0 ), column(1 )
35- {
36- }
37-
3832 explicit parsert (message_handlert &message_handler)
3933 : in(nullptr ),
4034 log(message_handler),
@@ -135,11 +129,8 @@ class parsert
135129 column+=token_width;
136130 }
137131
138- // should be protected or even just be a reference to a message handler, but
139- // for now enables a step-by-step transition
140- messaget log;
141-
142132protected:
133+ messaget log;
143134 source_locationt source_location;
144135 unsigned line_no, previous_line_no;
145136 unsigned column;
You can’t perform that action at this time.
0 commit comments