File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 2 files changed +4
-6
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 * 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.
5050 */
5151 Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
5252
@@ -271,8 +271,7 @@ class RegisterOperand extends NonPhiOperand, TRegisterOperand {
271271
272272 final override string toString ( ) { result = tag .toString ( ) }
273273
274- // most RegisterOperands have a more meaningful location at the definition
275- // the only exception is ThisArgumentOperand
274+ // most `RegisterOperands` have a more meaningful location at the definition. The only exception is `ThisArgumentOperand`.
276275 override Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
277276
278277 final override Instruction getAnyDef ( ) { result = defInstr }
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 * 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.
5050 */
5151 Language:: Location getLocation ( ) { result = this .getUse ( ) .getLocation ( ) }
5252
@@ -271,8 +271,7 @@ class RegisterOperand extends NonPhiOperand, TRegisterOperand {
271271
272272 final override string toString ( ) { result = tag .toString ( ) }
273273
274- // most RegisterOperands have a more meaningful location at the definition
275- // the only exception is ThisArgumentOperand
274+ // most `RegisterOperands` have a more meaningful location at the definition. The only exception is `ThisArgumentOperand`.
276275 override Language:: Location getLocation ( ) { result = this .getAnyDef ( ) .getLocation ( ) }
277276
278277 final override Instruction getAnyDef ( ) { result = defInstr }
You can’t perform that action at this time.
0 commit comments