@@ -461,7 +461,7 @@ class PostFieldUpdateNode extends TPostFieldUpdateNode, PartialDefinitionNode {
461
461
462
462
PostFieldUpdateNode ( ) { this = TPostFieldUpdateNode ( fieldAddress , indirectionIndex ) }
463
463
464
- override Function getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
464
+ override Declaration getFunction ( ) { result = fieldAddress .getUse ( ) .getEnclosingFunction ( ) }
465
465
466
466
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
467
467
@@ -543,7 +543,7 @@ class SideEffectOperandNode extends Node, IndirectOperand {
543
543
544
544
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
545
545
546
- override Function getFunction ( ) { result = call .getEnclosingFunction ( ) }
546
+ override Declaration getFunction ( ) { result = call .getEnclosingFunction ( ) }
547
547
548
548
Expr getArgument ( ) { result = call .getArgument ( argumentIndex ) .getUnconvertedResultExpression ( ) }
549
549
}
@@ -629,7 +629,7 @@ class IndirectParameterNode extends Node, IndirectInstruction {
629
629
630
630
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
631
631
632
- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
632
+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
633
633
634
634
override string toStringImpl ( ) {
635
635
result = this .getParameter ( ) .toString ( ) + " indirection"
@@ -702,7 +702,7 @@ class IndirectArgumentOutNode extends Node, TIndirectArgumentOutNode, PartialDef
702
702
703
703
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
704
704
705
- override Function getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
705
+ override Declaration getFunction ( ) { result = this .getCallInstruction ( ) .getEnclosingFunction ( ) }
706
706
707
707
override Node getPreUpdateNode ( ) { hasOperandAndIndex ( result , operand , indirectionIndex ) }
708
708
@@ -847,7 +847,7 @@ class RawIndirectOperand extends Node, TRawIndirectOperand {
847
847
/** Gets the underlying indirection index. */
848
848
int getIndirectionIndex ( ) { result = indirectionIndex }
849
849
850
- override Function getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
850
+ override Declaration getFunction ( ) { result = this .getOperand ( ) .getDef ( ) .getEnclosingFunction ( ) }
851
851
852
852
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
853
853
@@ -888,7 +888,7 @@ class FinalParameterNode extends Node, TFinalParameterNode {
888
888
/** Gets the argument index associated with this final use. */
889
889
final int getArgumentIndex ( ) { result = p .getIndex ( ) }
890
890
891
- override Function getFunction ( ) { result = p .getFunction ( ) }
891
+ override Declaration getFunction ( ) { result = p .getFunction ( ) }
892
892
893
893
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
894
894
@@ -945,7 +945,7 @@ class RawIndirectInstruction extends Node, TRawIndirectInstruction {
945
945
/** Gets the underlying indirection index. */
946
946
int getIndirectionIndex ( ) { result = indirectionIndex }
947
947
948
- override Function getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
948
+ override Declaration getFunction ( ) { result = this .getInstruction ( ) .getEnclosingFunction ( ) }
949
949
950
950
override Declaration getEnclosingCallable ( ) { result = this .getFunction ( ) }
951
951
0 commit comments