@@ -457,7 +457,7 @@ class PostFieldUpdateNode extends TPostFieldUpdateNode, PartialDefinitionNode {
457457
458458 PostFieldUpdateNode ( ) { this = TPostFieldUpdateNode ( fieldAddress , indirectionIndex ) }
459459
460- override Function getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
460+ override Declaration getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
461461
462462 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
463463
@@ -539,7 +539,7 @@ class SideEffectOperandNode extends Node, IndirectOperand {
539539
540540 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
541541
542- override Function getFunction ( ) { result = call .getEnclosingFunction ( ) }
542+ override Declaration getFunction ( ) { result = call .getEnclosingFunction ( ) }
543543
544544 Expr getArgument ( ) { result = call .getArgument ( argumentIndex ) .getUnconvertedResultExpression ( ) }
545545}
@@ -625,7 +625,7 @@ class IndirectParameterNode extends Node, IndirectInstruction {
625625
626626 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
627627
628- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
628+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
629629
630630 override string toStringImpl ( ) {
631631 result = this .getParameter ( ) .toString ( ) + " indirection"
@@ -698,7 +698,7 @@ class IndirectArgumentOutNode extends Node, TIndirectArgumentOutNode, PartialDef
698698
699699 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
700700
701- override Function getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
701+ override Declaration getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
702702
703703 override Node getPreUpdateNode ( ) { hasOperandAndIndex ( result , operand , indirectionIndex ) }
704704
@@ -861,7 +861,7 @@ class RawIndirectOperand extends Node, TRawIndirectOperand {
861861 /** Gets the underlying indirection index. */
862862 int getIndirectionIndex ( ) { result = indirectionIndex }
863863
864- override Function getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
864+ override Declaration getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
865865
866866 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
867867
@@ -902,7 +902,7 @@ class FinalParameterNode extends Node, TFinalParameterNode {
902902 /** Gets the argument index associated with this final use. */
903903 final int getArgumentIndex ( ) { result = p .getIndex ( ) }
904904
905- override Function getFunction ( ) { result = p .getFunction ( ) }
905+ override Declaration getFunction ( ) { result = p .getFunction ( ) }
906906
907907 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
908908
@@ -959,7 +959,7 @@ class RawIndirectInstruction extends Node, TRawIndirectInstruction {
959959 /** Gets the underlying indirection index. */
960960 int getIndirectionIndex ( ) { result = indirectionIndex }
961961
962- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
962+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
963963
964964 override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
965965
0 commit comments