Skip to content

Commit 93a6b22

Browse files
committed
WIP, create PRs
1 parent 65e1cc9 commit 93a6b22

File tree

6 files changed

+4
-14
lines changed

6 files changed

+4
-14
lines changed

src/analyses/ai.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class ait : public ai_recursive_interproceduralt
589589
// Not recommended as it will throw an exception if a location has not
590590
// been reached in an analysis and there is no (other) way of telling
591591
// if a location has been reached.
592-
DEPRECATED(SINCE(2019, 08, 01, "use abstract_state_{before,after} instead"))
592+
// DEPRECATED(SINCE(2019, 08, 01, "use abstract_state_{before,after} instead"))
593593
const domainT &operator[](locationt l) const
594594
{
595595
auto p = storage->abstract_state_before(l, *domain_factory);
@@ -607,7 +607,7 @@ class ait : public ai_recursive_interproceduralt
607607
// Support the legacy get_state interface which is needed for a few domains
608608
// This is one of the few users of the legacy get_state(locationt) method
609609
// in location_sensitive_storaget.
610-
DEPRECATED(SINCE(2019, 08, 01, "use get_state(trace_ptrt p) instead"))
610+
// DEPRECATED(SINCE(2019, 08, 01, "use get_state(trace_ptrt p) instead"))
611611
virtual statet &get_state(locationt l)
612612
{
613613
auto &s = dynamic_cast<location_sensitive_storaget &>(*storage);

src/analyses/ai_storage.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class location_sensitive_storaget : public trace_map_storaget
200200
// Care should be exercised in using this. It is possible to create domains
201201
// without any corresponding history object(s). This can lead to somewhat
202202
// unexpected behaviour depending on which APIs you use.
203-
DEPRECATED(SINCE(2019, 08, 01, "use get_state(trace_ptrt p) instead"))
203+
// DEPRECATED(SINCE(2019, 08, 01, "use get_state(trace_ptrt p) instead"))
204204
statet &get_state(locationt l, const ai_domain_factory_baset &fac)
205205
{
206206
typename state_mapt::const_iterator it = state_map.find(l);

src/goto-instrument/contracts/dynamic-frames/dfcc_is_freeable.h

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class dfcc_is_freeablet
5151
protected:
5252
dfcc_libraryt &library;
5353
message_handlert &message_handler;
54-
messaget log;
5554
};
5655

5756
#endif

src/goto-programs/safety_checker.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ Author: Daniel Kroening, [email protected]
1111

1212
#include "safety_checker.h"
1313

14-
safety_checkert::safety_checkert(const namespacet &_ns):
15-
ns(_ns)
16-
{
17-
}
18-
1914
safety_checkert::safety_checkert(
2015
const namespacet &_ns,
2116
message_handlert &_message_handler):

src/goto-programs/safety_checker.h

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ class goto_functionst;
2424
class safety_checkert:public messaget
2525
{
2626
public:
27-
explicit safety_checkert(
28-
const namespacet &_ns);
29-
3027
explicit safety_checkert(
3128
const namespacet &_ns,
3229
message_handlert &_message_handler);

src/jsil/jsil_entry_point.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ bool jsil_entry_point(
154154

155155
if(!symbol_table.insert(std::move(new_symbol)).second)
156156
{
157-
messaget message;
158-
message.set_message_handler(message_handler);
157+
messaget message{message_handler};
159158
message.error() << "failed to move main symbol" << messaget::eom;
160159
return true;
161160
}

0 commit comments

Comments
 (0)