Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's two similar but distinct function attributes for nullability. One affects codegen, one affects diagnostics only.


Which are those? I only know about nonnull, nonnull_if_nonzero and returns_nonnull:

https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attribute...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: