A variable declared with __attribute__((cleanup)) cannot be unused, as
its address is passed to the clean up function. Do not emit
-Wunused-variable for variables declared with the cleanup attribute,
which matches GCC's behavior: https://godbolt.org/z/dz5YfTsan
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I note I forgot to require a release note, so please add one of those (and make sure it gets incorporated in any cherry-pick that happens).
void return type