3 ms·
https://clang.llvm.org/docs/AttributeReference.html#cleanup https://clang.llvm.org/docs/AttributeReference.html#cleanup. We use it in several projects and comp
by rwmj 4y ago
https://clang.llvm.org/docs/AttributeReference.html#cleanup https://clang.llvm.org/docs/AttributeReference.html#cleanup. We use it in several projects and compile those with clang.
Here's nbdkit compiled with clang 14:
https://gitlab.com/nbdkit/nbdkit/-/jobs/2814022460 https://gitlab.com/nbdkit/nbdkit/-/jobs/2814022460
checking whether clang is Clang... yes
[...]
checking if __attribute__((cleanup(...))) works with this compiler... yes
- pjmlp 4y agoThanks for the example.