3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-18 16:28:56 +00:00

Replace remaining NULL with nullptr (#8198)

* Initial plan

* Replace NULL with nullptr in spacer_context.cpp

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2026-01-14 19:50:44 -08:00 committed by GitHub
parent 896e297bd4
commit e7f9a31b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2837,7 +2837,7 @@ unsigned context::get_cex_depth()
SASSERT (preds.size () == 1);
pts.push_back (&(get_pred_transformer (preds[0])));
pts.push_back (NULL); // cex depth marker
pts.push_back (nullptr); // cex depth marker
// bfs traversal of the query derivation tree
for (unsigned curr = 0; curr < pts.size (); curr++) {
@ -2847,7 +2847,7 @@ unsigned context::get_cex_depth()
if (pt == nullptr) {
++cex_depth;
// insert new marker if there are pts at higher depth
if (curr + 1 < pts.size()) { pts.push_back(NULL); }
if (curr + 1 < pts.size()) { pts.push_back(nullptr); }
continue;
}
fact = facts.get (curr - cex_depth); // discount the number of markers