Skip to content

Cleanup chrono includes #7384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions src/goto-checker/bmc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ Author: Daniel Kroening, Peter Schrammel
#ifndef CPROVER_GOTO_CHECKER_BMC_UTIL_H
#define CPROVER_GOTO_CHECKER_BMC_UTIL_H

#include <chrono>
#include <memory>

#include <goto-symex/build_goto_trace.h>

#include <goto-instrument/unwindset.h>
#include <goto-symex/build_goto_trace.h>

#include "incremental_goto_checker.h"
#include "properties.h"

#include <chrono> // IWYU pragma: keep
#include <memory>

class decision_proceduret;
class goto_symex_property_decidert;
class goto_tracet;
Expand Down
2 changes: 0 additions & 2 deletions src/goto-checker/multi_path_symex_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Author: Daniel Kroening, Peter Schrammel

#include "multi_path_symex_checker.h"

#include <chrono>

#include <util/ui_message.h>

#include <goto-symex/solver_hardness.h>
Expand Down
4 changes: 2 additions & 2 deletions src/goto-checker/multi_path_symex_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Author: Daniel Kroening, Peter Schrammel
#ifndef CPROVER_GOTO_CHECKER_MULTI_PATH_SYMEX_CHECKER_H
#define CPROVER_GOTO_CHECKER_MULTI_PATH_SYMEX_CHECKER_H

#include <chrono>

#include "fault_localization_provider.h"
#include "goto_symex_property_decider.h"
#include "goto_trace_provider.h"
#include "multi_path_symex_only_checker.h"
#include "witness_provider.h"

#include <chrono> // IWYU pragma: keep

/// Performs a multi-path symbolic execution using goto-symex
/// and calls a SAT/SMT solver to check the status of the properties.
class multi_path_symex_checkert : public multi_path_symex_only_checkert,
Expand Down
2 changes: 0 additions & 2 deletions src/goto-checker/multi_path_symex_only_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ Author: Daniel Kroening, Peter Schrammel
#include <goto-symex/show_program.h>
#include <goto-symex/show_vcc.h>

#include <chrono>

#include "bmc_util.h"

multi_path_symex_only_checkert::multi_path_symex_only_checkert(
Expand Down
2 changes: 0 additions & 2 deletions src/goto-checker/single_loop_incremental_symex_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Author: Daniel Kroening, Peter Schrammel

#include "single_loop_incremental_symex_checker.h"

#include <chrono>

#include <util/structured_data.h>

#include <goto-symex/slice.h>
Expand Down
2 changes: 0 additions & 2 deletions src/goto-checker/single_path_symex_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Author: Daniel Kroening, Peter Schrammel
#ifndef CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_CHECKER_H
#define CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_CHECKER_H

#include <chrono>

#include "goto_symex_property_decider.h"
#include "goto_trace_provider.h"
#include "single_path_symex_only_checker.h"
Expand Down
2 changes: 0 additions & 2 deletions src/goto-checker/single_path_symex_only_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ Author: Daniel Kroening, Peter Schrammel

#include "single_path_symex_only_checker.h"

#include <chrono>

#include <util/ui_message.h>

#include <goto-symex/path_storage.h>
Expand Down
7 changes: 3 additions & 4 deletions src/goto-checker/single_path_symex_only_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ Author: Daniel Kroening, Peter Schrammel
#ifndef CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_ONLY_CHECKER_H
#define CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_ONLY_CHECKER_H

#include "incremental_goto_checker.h"

#include <goto-instrument/unwindset.h>
#include <goto-symex/path_storage.h>

#include <goto-instrument/unwindset.h>
#include "incremental_goto_checker.h"

#include <chrono>
#include <chrono> // IWYU pragma: keep

class symex_bmct;

Expand Down
3 changes: 1 addition & 2 deletions src/goto-checker/symex_coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Date: March 2016
#include <langapi/language_util.h>
#include <linking/static_lifetime_init.h>

#include <chrono>
#include <ctime>
#include <chrono> // IWYU pragma: keep
#include <fstream> // IWYU pragma: keep
#include <iostream>

Expand Down
4 changes: 2 additions & 2 deletions src/goto-symex/symex_target_equation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Author: Daniel Kroening, [email protected]

#include "symex_target_equation.h"

#include <chrono>

#include <util/std_expr.h>

#include "solver_hardness.h"
#include "ssa_step.h"

#include <chrono> // IWYU pragma: keep

static std::function<void(solver_hardnesst &)>
hardness_register_ssa(std::size_t step_index, const SSA_stept &step)
{
Expand Down
6 changes: 3 additions & 3 deletions src/solvers/prop/prop_conv_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Author: Daniel Kroening, [email protected]

#include "prop_conv_solver.h"

#include <algorithm>
#include <chrono>

#include "literal_expr.h"

#include <algorithm>
#include <chrono> // IWYU pragma: keep

bool prop_conv_solvert::is_in_conflict(const exprt &expr) const
{
return prop.is_in_conflict(to_literal_expr(expr).get_literal());
Expand Down