3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-01 17:03:18 +00:00

update header guards to be C++ style. Fixes issue #9

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-07-08 23:18:40 -07:00
parent f145ceecb4
commit 4bc044c982
676 changed files with 1679 additions and 1619 deletions

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ARITH_SIMPLIFIER_PARAMS_H_
#define _ARITH_SIMPLIFIER_PARAMS_H_
#ifndef ARITH_SIMPLIFIER_PARAMS_H_
#define ARITH_SIMPLIFIER_PARAMS_H_
#include"params.h"
@ -32,5 +32,5 @@ struct arith_simplifier_params {
void updt_params(params_ref const & _p);
};
#endif /* _ARITH_SIMPLIFIER_PARAMS_H_ */
#endif /* ARITH_SIMPLIFIER_PARAMS_H_ */

View file

@ -14,8 +14,8 @@ Author:
Leonardo (leonardo) 2008-01-08
--*/
#ifndef _ARITH_SIMPLIFIER_PLUGIN_H_
#define _ARITH_SIMPLIFIER_PLUGIN_H_
#ifndef ARITH_SIMPLIFIER_PLUGIN_H_
#define ARITH_SIMPLIFIER_PLUGIN_H_
#include"basic_simplifier_plugin.h"
#include"poly_simplifier_plugin.h"
@ -93,4 +93,4 @@ public:
};
#endif /* _ARITH_SIMPLIFIER_PLUGIN_H_ */
#endif /* ARITH_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ARRAY_SIMPLIFIER_PARAMS_H_
#define _ARRAY_SIMPLIFIER_PARAMS_H_
#ifndef ARRAY_SIMPLIFIER_PARAMS_H_
#define ARRAY_SIMPLIFIER_PARAMS_H_
#include"params.h"
@ -32,5 +32,5 @@ struct array_simplifier_params {
void updt_params(params_ref const & _p);
};
#endif /* _ARITH_SIMPLIFIER_PARAMS_H_ */
#endif /* ARITH_SIMPLIFIER_PARAMS_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ARRAY_SIMPLIFIER_PLUGIN_H_
#define _ARRAY_SIMPLIFIER_PLUGIN_H_
#ifndef ARRAY_SIMPLIFIER_PLUGIN_H_
#define ARRAY_SIMPLIFIER_PLUGIN_H_
#include"ast.h"
#include"map.h"
@ -150,5 +150,5 @@ private:
};
#endif /* _ARRAY_SIMPLIFIER_PLUGIN_H_ */
#endif /* ARRAY_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Notes:
--*/
#ifndef _BASE_SIMPLIFIER_H_
#define _BASE_SIMPLIFIER_H_
#ifndef BASE_SIMPLIFIER_H_
#define BASE_SIMPLIFIER_H_
#include"expr_map.h"
#include"ast_pp.h"
@ -73,4 +73,4 @@ public:
}
};
#endif /* _BASE_SIMPLIFIER_H_ */
#endif /* BASE_SIMPLIFIER_H_ */

View file

@ -14,8 +14,8 @@ Author:
Leonardo (leonardo) 2008-01-07
--*/
#ifndef _BASIC_SIMPLIFIER_PLUGIN_H_
#define _BASIC_SIMPLIFIER_PLUGIN_H_
#ifndef BASIC_SIMPLIFIER_PLUGIN_H_
#define BASIC_SIMPLIFIER_PLUGIN_H_
#include"simplifier_plugin.h"
@ -75,4 +75,4 @@ struct expr_lt_proc {
}
};
#endif /* _BASIC_SIMPLIFIER_PLUGIN_H_ */
#endif /* BASIC_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _BIT2INT_H_
#define _BIT2INT_H_
#ifndef BIT2INT_H_
#define BIT2INT_H_
#include"bv_decl_plugin.h"
#include"arith_decl_plugin.h"
@ -92,5 +92,5 @@ public:
void operator()(expr * m, expr_ref & result, proof_ref& p);
};
#endif /* _BIT2INT_H_ */
#endif /* BIT2INT_H_ */

View file

@ -17,8 +17,8 @@ Author:
Revision History:
--*/
#ifndef _BV_ELIM_H_
#define _BV_ELIM_H_
#ifndef BV_ELIM_H_
#define BV_ELIM_H_
#include "ast.h"
#include "simplifier.h"
@ -41,5 +41,5 @@ public:
virtual ~bv_elim_star() {}
};
#endif /* _BV_ELIM_H_ */
#endif /* BV_ELIM_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _BV_SIMPLIFIER_PARAMS_H_
#define _BV_SIMPLIFIER_PARAMS_H_
#ifndef BV_SIMPLIFIER_PARAMS_H_
#define BV_SIMPLIFIER_PARAMS_H_
#include"params.h"
@ -32,5 +32,5 @@ struct bv_simplifier_params {
void updt_params(params_ref const & _p);
};
#endif /* _BV_SIMPLIFIER_PARAMS_H_ */
#endif /* BV_SIMPLIFIER_PARAMS_H_ */

View file

@ -14,8 +14,8 @@ Author:
Leonardo (leonardo) 2008-01-08
--*/
#ifndef _BV_SIMPLIFIER_PLUGIN_H_
#define _BV_SIMPLIFIER_PLUGIN_H_
#ifndef BV_SIMPLIFIER_PLUGIN_H_
#define BV_SIMPLIFIER_PLUGIN_H_
#include"basic_simplifier_plugin.h"
#include"poly_simplifier_plugin.h"
@ -184,4 +184,4 @@ public:
};
#endif /* _BV_SIMPLIFIER_PLUGIN_H_ */
#endif /* BV_SIMPLIFIER_PLUGIN_H_ */

View file

@ -14,8 +14,8 @@ Author:
nbjorner 2008-11-6
--*/
#ifndef _DATATYPE_SIMPLIFIER_PLUGIN_H_
#define _DATATYPE_SIMPLIFIER_PLUGIN_H_
#ifndef DATATYPE_SIMPLIFIER_PLUGIN_H_
#define DATATYPE_SIMPLIFIER_PLUGIN_H_
#include"basic_simplifier_plugin.h"
#include"datatype_decl_plugin.h"
@ -39,4 +39,4 @@ public:
};
#endif /* _DATATYPE_SIMPLIFIER_PLUGIN_H_ */
#endif /* DATATYPE_SIMPLIFIER_PLUGIN_H_ */

View file

@ -18,8 +18,8 @@ Revision History:
Christoph Wintersteiger 2010-04-06: Added implementation
--*/
#ifndef _DISTRIBUTE_FORALL_H_
#define _DISTRIBUTE_FORALL_H_
#ifndef DISTRIBUTE_FORALL_H_
#define DISTRIBUTE_FORALL_H_
#include"ast.h"
#include"basic_simplifier_plugin.h"
@ -79,4 +79,4 @@ protected:
void flush_cache() { m_cache.cleanup(); }
};
#endif /* _DISTRIBUTE_FORALL_H_ */
#endif /* DISTRIBUTE_FORALL_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _ELIM_BOUNDS_H_
#define _ELIM_BOUNDS_H_
#ifndef ELIM_BOUNDS_H_
#define ELIM_BOUNDS_H_
#include"ast.h"
#include"arith_decl_plugin.h"
@ -65,5 +65,5 @@ public:
virtual ~elim_bounds_star() {}
};
#endif /* _ELIM_BOUNDS_H_ */
#endif /* ELIM_BOUNDS_H_ */

View file

@ -14,8 +14,8 @@ Author:
Christoph (cwinter) 2015-01-14
--*/
#ifndef _FPA_SIMPLIFIER_PLUGIN_H_
#define _FPA_SIMPLIFIER_PLUGIN_H_
#ifndef FPA_SIMPLIFIER_PLUGIN_H_
#define FPA_SIMPLIFIER_PLUGIN_H_
#include"basic_simplifier_plugin.h"
#include"fpa_decl_plugin.h"
@ -36,4 +36,4 @@ public:
};
#endif /* _FPA_SIMPLIFIER_PLUGIN_H_ */
#endif /* FPA_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,12 +16,12 @@ Author:
Revision History:
--*/
#ifndef _INJ_AXIOM_H_
#define _INJ_AXIOM_H_
#ifndef INJ_AXIOM_H_
#define INJ_AXIOM_H_
#include"ast.h"
bool simplify_inj_axiom(ast_manager & m, quantifier * q, expr_ref & result);
#endif /* _INJ_AXIOM_H_ */
#endif /* INJ_AXIOM_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _MAXIMISE_AC_SHARING_H_
#define _MAXIMISE_AC_SHARING_H_
#ifndef MAXIMISE_AC_SHARING_H_
#define MAXIMISE_AC_SHARING_H_
#include"simplifier.h"
#include"hashtable.h"
@ -120,5 +120,5 @@ public:
maximise_bv_sharing(ast_manager & m);
};
#endif /* _MAXIMISE_AC_SHARING_H_ */
#endif /* MAXIMISE_AC_SHARING_H_ */

View file

@ -14,8 +14,8 @@ Author:
Leonardo (leonardo) 2008-01-08
--*/
#ifndef _POLY_SIMPLIFIER_PLUGIN_H_
#define _POLY_SIMPLIFIER_PLUGIN_H_
#ifndef POLY_SIMPLIFIER_PLUGIN_H_
#define POLY_SIMPLIFIER_PLUGIN_H_
#include "simplifier_plugin.h"
@ -152,4 +152,4 @@ public:
#endif
};
#endif /* _POLY_SIMPLIFIER_PLUGIN_H_ */
#endif /* POLY_SIMPLIFIER_PLUGIN_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _PULL_ITE_TREE_H_
#define _PULL_ITE_TREE_H_
#ifndef PULL_ITE_TREE_H_
#define PULL_ITE_TREE_H_
#include"ast.h"
#include"simplifier.h"
@ -97,5 +97,5 @@ public:
virtual bool is_target(app * n) const;
};
#endif /* _PULL_ITE_TREE_H_ */
#endif /* PULL_ITE_TREE_H_ */

View file

@ -16,8 +16,8 @@ Author:
Revision History:
--*/
#ifndef _PUSH_APP_ITE_H_
#define _PUSH_APP_ITE_H_
#ifndef PUSH_APP_ITE_H_
#define PUSH_APP_ITE_H_
#include"ast.h"
#include"simplifier.h"
@ -59,5 +59,5 @@ public:
virtual ~ng_push_app_ite() {}
};
#endif /* _PUSH_APP_ITE_H_ */
#endif /* PUSH_APP_ITE_H_ */

View file

@ -16,8 +16,8 @@ Author:
Notes:
--*/
#ifndef _SIMPLIFIER_H_
#define _SIMPLIFIER_H_
#ifndef SIMPLIFIER_H_
#define SIMPLIFIER_H_
#include"base_simplifier.h"
#include"simplifier_plugin.h"

View file

@ -15,8 +15,8 @@ Author:
--*/
#ifndef __SIMPLIFIER_PLUGIN_H__
#define __SIMPLIFIER_PLUGIN_H__
#ifndef SIMPLIFIER_PLUGIN_H_
#define SIMPLIFIER_PLUGIN_H_
#include"ast.h"