Skip to content

Commit 30d747b

Browse files
committed
Move type_traits.h into solvers/smt2_incremental/
Because this is the only part of the codebase where it is currently used and moving it means the PR with this commit should need fewer code reviewer approvals.
1 parent 6edaf35 commit 30d747b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/solvers/smt2_incremental/smt_terms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#define CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_TERMS_H
55

66
#include <util/irep.h>
7-
#include <util/type_traits.h>
87

98
#include <solvers/smt2_incremental/smt_index.h>
109
#include <solvers/smt2_incremental/smt_sorts.h>
10+
#include <solvers/smt2_incremental/type_traits.h>
1111

1212
#include <functional>
1313
#include <utility>

src/util/type_traits.h renamed to src/solvers/smt2_incremental/type_traits.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
/// or C++17 to C++11. These can be replaced with the standard library versions
66
/// as and when we upgrade the version CBMC is compiled with.
77

8-
#ifndef CPROVER_UTIL_TYPE_TRAITS_H
9-
#define CPROVER_UTIL_TYPE_TRAITS_H
8+
#ifndef CPROVER_SOLVERS_SMT2_INCREMENTAL_TYPE_TRAITS_H
9+
#define CPROVER_SOLVERS_SMT2_INCREMENTAL_TYPE_TRAITS_H
1010

1111
#include <type_traits>
1212

@@ -34,4 +34,4 @@ struct make_voidt
3434
template <typename... typest>
3535
using void_t = typename detail::make_voidt<typest...>::type;
3636

37-
#endif // CPROVER_UTIL_TYPE_TRAITS_H
37+
#endif // CPROVER_SOLVERS_SMT2_INCREMENTAL_TYPE_TRAITS_H

0 commit comments

Comments
 (0)