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 {
4646 /**
4747 * Gets the location of the source code for this operand.
4848 */
49- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
5050
5151 /**
5252 * 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 {
4646 /**
4747 * Gets the location of the source code for this operand.
4848 */
49- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
5050
5151 /**
5252 * 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 {
4646 /**
4747 * Gets the location of the source code for this operand.
4848 */
49- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
5050
5151 /**
5252 * 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 {
4646 /**
4747 * Gets the location of the source code for this operand.
4848 */
49- final Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
49+ final Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
5050
5151 /**
5252 * Gets the function that contains this operand.
You can’t perform that action at this time.
0 commit comments