mercury
mercury copied to clipboard
clang type annotations
Reported by robl on 09/22/14 Mercury uses a lot of void pointers. It would be nice if we could annotate the interface to catch problems.
see http://hpc-ua.org/hpc-ua-12/files/proceedings/3.pdf and http://clang.llvm.org/docs/AttributeReference.html#type-safety-checking
Comment by robl on 09/23/14 To see an example of how one provides these annotations, see this MPICH commit:
http://git.mpich.org/mpich.git/commit/5650aec3