mirror of
https://github.com/Z3Prover/z3
synced 2026-07-18 21:15:47 +00:00
This is another PR towards the goal of getting Z3 to compile cleanly when included via FetchContents into clang-tidy, which uses a pretty strict set of warnings. This is a second version of https://github.com/Z3Prover/z3/pull/9957. I address @NikolajBjorner 's comments about not changing the semicolons after macro invocations, because some editors work better with them present. It now, to the best of my ability, only deletes semis: * after the closing brace of namespace decl. * after the closing brace of an extern "C" decl. * after a function definition. This PR is very large, but it consists entirely of deletions of semicolons in these situations. (If there was a way to update the previous PR, which had been closed, and that is preferable, please let me know. I couldn't figure it out.)
41 lines
564 B
C++
41 lines
564 B
C++
/*++
|
|
Copyright (c) 2012 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
smt_implied_equalities.h
|
|
|
|
Abstract:
|
|
|
|
Procedure for obtaining implied equalities relative to the
|
|
state of a solver.
|
|
|
|
Author:
|
|
|
|
Nikolaj Bjorner (nbjorner) 2012-02-29
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "smt/smt_solver.h"
|
|
#include "util/lbool.h"
|
|
#include "ast/ast.h"
|
|
|
|
|
|
namespace smt {
|
|
|
|
lbool implied_equalities(
|
|
ast_manager & m,
|
|
solver & solver,
|
|
unsigned num_terms, expr* const* terms,
|
|
unsigned* class_ids);
|
|
|
|
|
|
}
|
|
|
|
|