- changed status to open
- removed comment
Support attribute((nonnull)), attribute((returns_nonnull))
Issue #1677
closed
GCC (and probably other compilers) have attributes nonnull and returns_nonnull. These describe functions that require either arguments or return values to be not null, allowing both additional optimizations and consistency checks.
I would like to add support for Cactus's autoconf mechanism to detect this, and then use these attributes in a few central places such as CCTK_ARGUMENTS or CCTK_PARAMETERS.
Keyword:
Comments (7)
-
reporter -
reporter - changed component to Cactus
- removed comment
-
- removed comment
I don't see a reason against it, but there is nothing to review right now.
-
reporter - removed comment
Pull request is at https://bitbucket.org/cactuscode/cactus/pull-request/1/support-attribute-nonnull.
-
reporter - changed status to open
- removed comment
Approved during telecon.
-
reporter - changed status to resolved
- removed comment
Applied via commit 9710f86.
-
- edited description
- changed status to closed
- Log in to comment