DHowett/theos — Issue #12: logos false positives
Author: dapetcu21
Created: 2012-01-21 09:28:08+00:00
State: open

logos picks up false method declarations in the middle of a function.
this:

while (MC.index+(int)hasPlaceHolder < (int)[icons count])
{
SBIcon * neighbor = [icons objectAtIndex:MC.index+(int)hasPlaceHolder];
//...
}

gets turned into this:

while (MC.indexstatic int _logos_meta_method$_ungrouped$SBAppSwitcherController$hasPlaceHolder(Class self, SEL _cmd) < (int)[icons count])
{
SBIcon * neighbor = [icons objectAtIndex:MC.indexstatic int _logos_meta_method$_ungrouped$SBAppSwitcherController$hasPlaceHolder(Class self, SEL _cmd)];
//...
}