@@ -198,12 +198,12 @@ class InitializationFunction extends Function {
198198 )
199199 or
200200 // If we have no definition, we look at SAL annotations
201- not this .isDefined ( ) and
201+ not this .hasDefinition ( ) and
202202 this .getParameter ( i ) .( SALParameter ) .isOut ( ) and
203203 evidence = SuggestiveSALAnnotation ( )
204204 or
205205 // We have some external information that this function conditionally initializes
206- not this .isDefined ( ) and
206+ not this .hasDefinition ( ) and
207207 any ( ValidatedExternalCondInitFunction vc ) .isExternallyVerified ( this , i ) and
208208 evidence = ExternalEvidence ( )
209209 }
@@ -406,7 +406,7 @@ class ConditionalInitializationFunction extends InitializationFunction {
406406 * Explicitly ignore pure virtual functions.
407407 */
408408
409- this .isDefined ( ) and
409+ this .hasDefinition ( ) and
410410 this .paramNotReassignedAt ( this , i , c ) and
411411 not this instanceof PureVirtualFunction
412412 )
@@ -616,11 +616,11 @@ private predicate functionSignature(Function f, string qualifiedName, string typ
616616 * are never statically linked together.
617617 */
618618private Function getAPossibleDefinition ( Function undefinedFunction ) {
619- not undefinedFunction .isDefined ( ) and
619+ not undefinedFunction .hasDefinition ( ) and
620620 exists ( string qn , string typeSig |
621621 functionSignature ( undefinedFunction , qn , typeSig ) and functionSignature ( result , qn , typeSig )
622622 ) and
623- result .isDefined ( )
623+ result .hasDefinition ( )
624624}
625625
626626/**
@@ -631,7 +631,7 @@ private Function getAPossibleDefinition(Function undefinedFunction) {
631631 */
632632private Function getTarget1 ( Call c ) {
633633 result = VirtualDispatch:: getAViableTarget ( c ) and
634- result .isDefined ( )
634+ result .hasDefinition ( )
635635}
636636
637637/**
0 commit comments