File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation
csharp/ql/src/experimental/ir/implementation Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Operand extends TStageOperand {
46
46
/**
47
47
* Gets the location of the source code for this operand.
48
48
*/
49
- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49
+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
50
50
51
51
/**
52
52
* Gets the function that contains this operand.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Operand extends TStageOperand {
46
46
/**
47
47
* Gets the location of the source code for this operand.
48
48
*/
49
- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49
+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
50
50
51
51
/**
52
52
* Gets the function that contains this operand.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Operand extends TStageOperand {
46
46
/**
47
47
* Gets the location of the source code for this operand.
48
48
*/
49
- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49
+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
50
50
51
51
/**
52
52
* Gets the function that contains this operand.
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class Operand extends TStageOperand {
46
46
/**
47
47
* Gets the location of the source code for this operand.
48
48
*/
49
- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49
+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
50
50
51
51
/**
52
52
* Gets the function that contains this operand.
You can’t perform that action at this time.
0 commit comments