3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00

Make sure all headers do #pragma once. (#6188)

This commit is contained in:
Bruce Mitchener 2022-07-24 00:41:14 +07:00 committed by GitHub
parent 3a8eb1e7ec
commit 3e38bbb009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 68 additions and 1 deletions

View file

@ -16,6 +16,8 @@ Author:
Notes:
--*/
#pragma once
#include "util/symbol.h"
void R();

View file

@ -3,7 +3,7 @@
Copyright (c) 2015 Microsoft Corporation
--*/
#pragma once
#ifndef Z3_API
# ifdef __GNUC__

View file

@ -16,6 +16,8 @@ Author:
Revision History:
--*/
#pragma once
#include "util/rational.h"
#include "util/common_msgs.h"
#include "ast/rewriter/bit_blaster/bit_blaster_tpl.h"

View file

@ -16,6 +16,7 @@ Author:
Notes:
--*/
#pragma once
#include "util/container_util.h"
#include "ast/rewriter/poly_rewriter.h"

View file

@ -16,6 +16,8 @@ Author:
Notes:
--*/
#pragma once
#include "ast/rewriter/rewriter.h"
#include "ast/ast_smt2_pp.h"
#include "ast/ast_ll_pp.h"

View file

@ -15,6 +15,7 @@ Author:
Notes:
--*/
#pragma once
class cmd_context;

View file

@ -17,6 +17,8 @@ Author:
Revision History:
--*/
#pragma once
#include "math/dd/dd_pdd.h"
namespace dd {

View file

@ -17,6 +17,8 @@ Author:
Revision History:
--*/
#pragma once
#include "math/dd/dd_pdd.h"
#include "math/interval/dep_intervals.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/binary_heap_priority_queue.h"
namespace lp {

View file

@ -17,6 +17,7 @@ Revision History:
--*/
#pragma once
#include <set>
#include "math/lp/lp_utils.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <limits>
#include <string>
#include <algorithm>

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "math/lp/lp_settings.h"
#ifdef Z3DEBUG
#include "util/vector.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/indexed_vector.h"
#include "math/lp/lp_settings.h"

View file

@ -9,6 +9,8 @@ Revision History:
--*/
#pragma once
#include <string>
#include "util/vector.h"
#include "math/lp/lar_core_solver.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <set>
#include <string>
#include "util/vector.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <algorithm>
#include <string>
#include "util/vector.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "math/lp/lp_dual_simplex.h"
namespace lp{

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <list>
#include "util/vector.h"
#include <fstream>

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
// this is a part of lp_primal_core_solver that deals with the tableau
#include "math/lp/lp_primal_core_solver.h"
namespace lp {

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <string>
#include "util/vector.h"
#include "math/lp/lp_primal_simplex.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <cmath>
#include <string>
#include "util/vector.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <string>
#include <algorithm>
#include "util/vector.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <string>
#include <algorithm>
#include <set>

View file

@ -17,6 +17,7 @@ Revision History:
--*/
#pragma once
#include <cmath>
#include <string>

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/permutation_matrix.h"
namespace lp {

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "math/lp/random_updater.h"
#include "math/lp/static_matrix.h"
#include "math/lp/lar_solver.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/row_eta_matrix.h"
namespace lp {

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include <algorithm>
#include "math/lp/scaler.h"
#include "math/lp/numeric_pair.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/square_dense_submatrix.h"
namespace lp {

View file

@ -17,6 +17,7 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include "math/lp/square_sparse_matrix.h"

View file

@ -17,6 +17,8 @@ Revision History:
--*/
#pragma once
#include "util/vector.h"
#include <utility>
#include <set>

View file

@ -16,6 +16,8 @@ Author:
Revision History:
--*/
#pragma once
#include "math/subpaving/subpaving_t.h"
#include "math/interval/interval_def.h"
#include "util/buffer.h"

View file

@ -3,6 +3,7 @@
Copyright (c) 2015 Microsoft Corporation
--*/
#pragma once
/**

View file

@ -5,6 +5,7 @@
Notes: this file is included from the middle of spacer_context.h
*/
#pragma once
class legacy_frames
{

View file

@ -18,6 +18,7 @@
The truth table covers up to 6 inputs, which fits in 64 bits.
--*/
#pragma once
static uint64_t compute_shift(uint64_t x, unsigned code) {
switch (code) {

View file

@ -3,6 +3,7 @@
Copyright (c) 2015 Microsoft Corporation
--*/
#pragma once
/**

View file

@ -3,6 +3,7 @@
Copyright (c) 2015 Microsoft Corporation
--*/
#pragma once
static char const g_pattern_database[] =
"(benchmark patterns \n"

View file

@ -19,6 +19,7 @@ Notes:
It performs unit propagation and switches to creating
sorting circuits if it keeps having to propagate (create new clauses).
--*/
#pragma once
#include "smt/smt_theory.h"
#include "ast/pb_decl_plugin.h"

View file

@ -17,6 +17,7 @@ Revision History:
--*/
#pragma once
#include <unordered_map>
#include <vector>

View file

@ -1,3 +1,5 @@
#pragma once
namespace lp {
#include "math/lp/lp_utils.h"
struct gomory_test {

View file

@ -17,6 +17,7 @@ Notes:
--*/
#pragma once
#include "util/vector.h"
#include "util/uint_set.h"