Displaying 1 result from an estimated 1 matches for "dereferenceableandnotnul".
Did you mean:
dereferenceableandnotnull
2015 Feb 12
2
[LLVMdev] RFC: attribute for a pointer which is dereferenceable xor null
I'd like to propose that we add an attribute which expresses the notion
that the specified value is /either/ null or dereferenceable up to a
fixed size. (Note the xor.) Our current dereferenceable(n) attribute
doesn't quite fit the bill, it implies that the pointer is non-null.
Similarly, our nonnull attribute says nothing about dereferenceability.
There are two syntax proposals