Skip to content

Commit f270e92

Browse files
author
Daniel Kroening
authored
Merge pull request #1835 from diffblue/remove-goto-templates
expand goto_programt and goto_functionst templates
2 parents 0208218 + d82c586 commit f270e92

29 files changed

+1085
-1151
lines changed

src/analyses/constant_propagator.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Author: Peter Schrammel
2020
#include <util/simplify_expr.h>
2121
#include <util/cprover_prefix.h>
2222

23+
#include <langapi/language_util.h>
24+
2325
void constant_propagator_domaint::assign_rec(
2426
valuest &values,
2527
const exprt &lhs,

src/analyses/custom_bitvector_analysis.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Author: Daniel Kroening, kroening@kroening.com
1414
#include <util/xml_expr.h>
1515
#include <util/simplify_expr.h>
1616

17+
#include <langapi/language_util.h>
18+
1719
#include <iostream>
1820

1921
void custom_bitvector_domaint::set_bit(

src/analyses/goto_check.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Author: Daniel Kroening, kroening@kroening.com
2828
#include <util/cprover_prefix.h>
2929
#include <util/options.h>
3030

31+
#include <langapi/language_util.h>
32+
3133
#include "local_bitvector_analysis.h"
3234

3335
class goto_checkt

src/analyses/goto_rw.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Date: April 2010
2323
#include <util/simplify_expr.h>
2424
#include <util/make_unique.h>
2525

26+
#include <langapi/language_util.h>
27+
2628
#include <goto-programs/goto_functions.h>
2729

2830
#include <pointer-analysis/goto_program_dereference.h>

src/analyses/interval_domain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Author: Daniel Kroening, kroening@kroening.com
1313

1414
#ifdef DEBUG
1515
#include <iostream>
16+
#include <langapi/language_util.h>
1617
#endif
1718

1819
#include <util/simplify_expr.h>

src/cbmc/bmc_cover.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Author: Daniel Kroening, kroening@kroening.com
1212
#include "bmc.h"
1313

1414
#include <chrono>
15+
#include <iomanip>
1516

1617
#include <util/xml.h>
1718
#include <util/xml_expr.h>
@@ -25,6 +26,8 @@ Author: Daniel Kroening, kroening@kroening.com
2526
#include <goto-programs/xml_goto_trace.h>
2627
#include <goto-programs/json_goto_trace.h>
2728

29+
#include <langapi/language_util.h>
30+
2831
#include "bv_cbmc.h"
2932

3033
class bmc_covert:

src/cbmc/symex_coverage.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Date: March 2016
1313

1414
#include "symex_coverage.h"
1515

16+
#include <ctime>
1617
#include <chrono>
1718
#include <iostream>
1819
#include <fstream>
@@ -23,6 +24,8 @@ Date: March 2016
2324
#include <util/cprover_prefix.h>
2425
#include <util/prefix.h>
2526

27+
#include <langapi/language_util.h>
28+
2629
#include <goto-programs/goto_functions.h>
2730
#include <goto-programs/remove_returns.h>
2831

src/goto-instrument/call_sequences.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Date: April 2013
2222

2323
#include <goto-programs/goto_model.h>
2424

25+
#include <langapi/language_util.h>
26+
2527
void show_call_sequences(
2628
const irep_idt &caller,
2729
const goto_programt &goto_program)

src/goto-instrument/cover_instrument_condition.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Author: Daniel Kroening
1111

1212
#include "cover_instrument.h"
1313

14+
#include <langapi/language_util.h>
15+
1416
#include "cover_util.h"
1517

1618
void cover_condition_instrumentert::instrument(

src/goto-instrument/cover_instrument_decision.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Author: Daniel Kroening
1111

1212
#include "cover_instrument.h"
1313

14+
#include <langapi/language_util.h>
15+
1416
#include "cover_util.h"
1517

1618
void cover_decision_instrumentert::instrument(

0 commit comments

Comments
 (0)