We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30805d9 commit 8b44d5cCopy full SHA for 8b44d5c
cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/Operand.qll
@@ -414,7 +414,7 @@ class ThisArgumentOperand extends ArgumentOperand {
414
override ThisArgumentOperandTag tag;
415
416
// in most cases the def location makes more sense, but in some corner cases it
417
- // returns no location: in those cases we fall back to the use location
+ // does not have a location: in those cases we fall back to the use location
418
override Language::Location getLocation() {
419
if exists(Language::Location loc | loc = this.getAnyDef().getLocation())
420
then result = this.getAnyDef().getLocation()
0 commit comments