davedets
6ac3075022
Remove unnecessary semicolons (Attempt 2) ( #10020 )
...
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.)
2026-07-02 12:47:29 -07:00
Nikolaj Bjorner
755f57931b
fix #7622
2025-04-17 11:05:49 -07:00
Nikolaj Bjorner
92065462b4
use std::exception as base class to z3_exception
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-11-04 11:08:15 -08:00
Nikolaj Bjorner
738c5b6d0d
add warning messages for #7100
2024-01-30 21:30:37 -08:00
Bruce Mitchener
fc40e3c510
Remove usages of Z3_bool, just use bool.
2022-07-30 05:49:05 +02:00
Nikolaj Bjorner
7da9f12521
expose description of global parameters #6048
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-05-27 08:50:40 -04:00
Nikolaj Bjorner
199daead50
remove Z3_bool_opt #5757
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2022-01-07 11:52:10 -08:00
Nikolaj Bjorner
ec034679ce
#5215
...
memory leaks
2021-05-19 12:42:38 -07:00
Nikolaj Bjorner
d03fdf5fed
more descriptive naming convention
2021-03-15 15:48:33 -07:00
Nikolaj Bjorner
4b3fecc35e
remove dependency on ast from params
2021-03-15 15:40:41 -07:00
Nikolaj Bjorner
b9cbb08858
shuffle dependencies
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-08-29 09:51:39 -07:00
Nuno Lopes
cd4b53500c
avoid a few str copies + symbol hiding
2019-03-08 10:13:46 +00:00
Nicola Mometto
29a28f544d
catch and print exceptions in Z3_mk_config instead of letting them
...
bubble up the stack
2018-11-27 12:31:00 +00:00
Bruce Mitchener
56bbed173e
Remove usages of Z3_TRUE / Z3_FALSE.
...
Now that this is all using stdbool.h, we can just use true/false.
For now, we leave the aliases in place in z3_api.h.
2018-11-20 00:25:37 +07:00
Bruce Mitchener
76eb7b9ede
Use nullptr.
2018-02-12 14:05:55 +07:00
Dan Liew
a2d7b43554
Update header includes to be relative to src/ directory.
2017-08-17 18:26:53 +01:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Nikolaj Bjorner
9253ca9d86
make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-14 08:10:10 -07:00
Nikolaj Bjorner
0e83a2b1af
merge with latest unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-22 09:45:04 -07:00
Nikolaj Bjorner
3ecffaa1e5
remove unused and always failing get_param_value function
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-21 11:12:50 -07:00
Nikolaj Bjorner
9d75babcda
add more information to error messages
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-15 21:33:29 -07:00
Leonardo de Moura
711abc75fb
Fix issue reported at http://z3.codeplex.com/workitem/14
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-01-24 13:22:28 -08:00
Leonardo de Moura
92a29b1e43
added Z3_global_param_reset_all API
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-04 11:55:12 -08:00
Leonardo de Moura
80405dbd62
added context_params to API
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-02 08:12:15 -08:00
Leonardo de Moura
02e763bb6b
env params
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-01 20:56:40 -08:00
Leonardo de Moura
589f096e6e
working on new parameter framework
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-01 15:54:34 -08:00
Leonardo de Moura
caf14b96d4
moving to gparams...
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-30 11:30:20 -08:00
Leonardo de Moura
cf28cbab0a
saved params work
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-11-29 17:19:12 -08:00
Leonardo de Moura
dcf778a287
Reorganizing the code
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-10-21 14:16:35 -07:00