File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 2 files changed +6
-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
* By default this is where the operand is used, but some subclasses may override this
49
- * using ` getAnyDef()` if it makes more sense.
49
+ * using getAnyDef() if it makes more sense.
50
50
*/
51
51
Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
52
52
@@ -271,7 +271,8 @@ class RegisterOperand extends NonPhiOperand, TRegisterOperand {
271
271
272
272
final override string toString ( ) { result = tag .toString ( ) }
273
273
274
- // most `RegisterOperands` have a more meaningful location at the definition. The only exception is `ThisArgumentOperand`.
274
+ // most RegisterOperands have a more meaningful location at the definition
275
+ // the only exception is ThisArgumentOperand
275
276
override Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
276
277
277
278
final override Instruction getAnyDef ( ) { result = defInstr }
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
* By default this is where the operand is used, but some subclasses may override this
49
- * using ` getAnyDef()` if it makes more sense.
49
+ * using getAnyDef() if it makes more sense.
50
50
*/
51
51
Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
52
52
@@ -271,7 +271,8 @@ class RegisterOperand extends NonPhiOperand, TRegisterOperand {
271
271
272
272
final override string toString ( ) { result = tag .toString ( ) }
273
273
274
- // most `RegisterOperands` have a more meaningful location at the definition. The only exception is `ThisArgumentOperand`.
274
+ // most RegisterOperands have a more meaningful location at the definition
275
+ // the only exception is ThisArgumentOperand
275
276
override Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
276
277
277
278
final override Instruction getAnyDef ( ) { result = defInstr }
You can’t perform that action at this time.
0 commit comments