[cfe-commits] [PATCH] update to clang analyzer ObjCMissingSuperCallChecker: check classes other than UIViewController too

CoreCode julian at corecode.at
Wed Dec 12 03:54:08 PST 2012

  >What is this doing here?

  sorry, some leftover from testing ;)

  >Did you measure this? Is that why it grew?

  indeed. once we can check multi-arg selectors, we can also check one of the longest methods namely "transitionFromViewController:toViewController:duration:options:animations:completion". Given the length of the method name, we will overflow the 256 bytes if the users Classname is longer than 5 characters. I figured trying to be clever and just add 16 bytes and hoping the Classname won't be longer than 21 chars (and the output format won't get longer) wouldn't be worth it, so i added a whole 64 bytes.


More information about the cfe-commits mailing list