Skip to content

Conversation

@snej
Copy link
Collaborator

@snej snej commented Nov 22, 2025

Basically, anywhere a Retained<> was never expected/allowed to be null, I changed it to Ref<>. This makes APIs more clear, and allows UBSan (and to some degree, Clang) to detect more illegal null pointers.

This depends on couchbase/fleece#274

Basically, anywhere a Retained<> was never expected/allowed to be
null, I changed it to Ref<>. This makes APIs more clear, and allows
UBSan to detect more illegal null pointers.
@cbl-bot
Copy link

cbl-bot commented Nov 22, 2025

Code Coverage Results:

Type Percentage
branches 65.91
functions 78.15
instantiations 71.83
lines 77.15
regions 73.48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants