@@ -457,7 +457,7 @@ class PostFieldUpdateNode extends TPostFieldUpdateNode, PartialDefinitionNode {
457
457
458
458
PostFieldUpdateNode ( ) { this = TPostFieldUpdateNode ( fieldAddress , indirectionIndex ) }
459
459
460
- override Function getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
460
+ override Declaration getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
461
461
462
462
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
463
463
@@ -539,7 +539,7 @@ class SideEffectOperandNode extends Node, IndirectOperand {
539
539
540
540
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
541
541
542
- override Function getFunction ( ) { result = call .getEnclosingFunction ( ) }
542
+ override Declaration getFunction ( ) { result = call .getEnclosingFunction ( ) }
543
543
544
544
Expr getArgument ( ) { result = call .getArgument ( argumentIndex ) .getUnconvertedResultExpression ( ) }
545
545
}
@@ -625,7 +625,7 @@ class IndirectParameterNode extends Node, IndirectInstruction {
625
625
626
626
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
627
627
628
- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
628
+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
629
629
630
630
override string toStringImpl ( ) {
631
631
result = this .getParameter ( ) .toString ( ) + " indirection"
@@ -698,7 +698,7 @@ class IndirectArgumentOutNode extends Node, TIndirectArgumentOutNode, PartialDef
698
698
699
699
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
700
700
701
- override Function getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
701
+ override Declaration getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
702
702
703
703
override Node getPreUpdateNode ( ) { hasOperandAndIndex ( result , operand , indirectionIndex ) }
704
704
@@ -861,7 +861,7 @@ class RawIndirectOperand extends Node, TRawIndirectOperand {
861
861
/** Gets the underlying indirection index. */
862
862
int getIndirectionIndex ( ) { result = indirectionIndex }
863
863
864
- override Function getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
864
+ override Declaration getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
865
865
866
866
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
867
867
@@ -902,7 +902,7 @@ class FinalParameterNode extends Node, TFinalParameterNode {
902
902
/** Gets the argument index associated with this final use. */
903
903
final int getArgumentIndex ( ) { result = p .getIndex ( ) }
904
904
905
- override Function getFunction ( ) { result = p .getFunction ( ) }
905
+ override Declaration getFunction ( ) { result = p .getFunction ( ) }
906
906
907
907
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
908
908
@@ -959,7 +959,7 @@ class RawIndirectInstruction extends Node, TRawIndirectInstruction {
959
959
/** Gets the underlying indirection index. */
960
960
int getIndirectionIndex ( ) { result = indirectionIndex }
961
961
962
- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
962
+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
963
963
964
964
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
965
965
0 commit comments