Skip to content

Commit c50ded5

Browse files
committed
Cleanup chrono includes
With Ubuntu 22.04 GitHub runner image 20221119.2 there appears to be some libclang difference so that include-what-you-use newly started suggesting `bits/chrono` instead of `chrono` (which is spurious); nevertheless, some of the uses of `#include <chrono>` indeed were unnecessary. Fixes: diffblue#7383
1 parent a042d91 commit c50ded5

7 files changed

+1
-12
lines changed

src/goto-checker/bmc_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Author: Daniel Kroening, Peter Schrammel
1212
#ifndef CPROVER_GOTO_CHECKER_BMC_UTIL_H
1313
#define CPROVER_GOTO_CHECKER_BMC_UTIL_H
1414

15-
#include <chrono>
15+
#include <chrono> // IWYU pragma: keep
1616
#include <memory>
1717

1818
#include <goto-symex/build_goto_trace.h>

src/goto-checker/multi_path_symex_checker.cpp

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

1212
#include "multi_path_symex_checker.h"
1313

14-
#include <chrono>
15-
1614
#include <util/ui_message.h>
1715

1816
#include <goto-symex/solver_hardness.h>

src/goto-checker/multi_path_symex_only_checker.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ Author: Daniel Kroening, Peter Schrammel
1616
#include <goto-symex/show_program.h>
1717
#include <goto-symex/show_vcc.h>
1818

19-
#include <chrono>
20-
2119
#include "bmc_util.h"
2220

2321
multi_path_symex_only_checkert::multi_path_symex_only_checkert(

src/goto-checker/single_loop_incremental_symex_checker.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Author: Daniel Kroening, Peter Schrammel
1313

1414
#include "single_loop_incremental_symex_checker.h"
1515

16-
#include <chrono>
17-
1816
#include <util/structured_data.h>
1917

2018
#include <goto-symex/slice.h>

src/goto-checker/single_path_symex_checker.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Author: Daniel Kroening, Peter Schrammel
1212
#ifndef CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_CHECKER_H
1313
#define CPROVER_GOTO_CHECKER_SINGLE_PATH_SYMEX_CHECKER_H
1414

15-
#include <chrono>
16-
1715
#include "goto_symex_property_decider.h"
1816
#include "goto_trace_provider.h"
1917
#include "single_path_symex_only_checker.h"

src/goto-checker/single_path_symex_only_checker.cpp

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

1212
#include "single_path_symex_only_checker.h"
1313

14-
#include <chrono>
15-
1614
#include <util/ui_message.h>
1715

1816
#include <goto-symex/path_storage.h>

src/goto-checker/symex_coverage.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Date: March 2016
2424
#include <linking/static_lifetime_init.h>
2525

2626
#include <chrono>
27-
#include <ctime>
2827
#include <fstream> // IWYU pragma: keep
2928
#include <iostream>
3029

0 commit comments

Comments
 (0)