[cfe-commits] [patch] warn on missing [super finalize] call
thakis at chromium.org
Sun Aug 28 02:58:24 PDT 2011
the attached patch makes clang warn on missing [super finalize] calls.
The warning uses the same logic as gcc (
http://codesearch.google.com/#N01oSP8jpDo/gcc/objc/objc-act.c , search
for "should_call_super_finalize" in that file). This is half of
This follows Fariborz' advice from
. I added OMF_finalize to a few switch statements, mostly to fix
"unhandled value in switch" warnings – I tried to add it so that it
didn't change the previous semantics.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8725 bytes
Desc: not available
More information about the cfe-commits