Skip to content

Commit f0697ff

Browse files
committed
C++: fix QL4QL warnings
1 parent 6dbaae6 commit f0697ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedElement.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ abstract class TranslatedElement extends TTranslatedElement {
947947
}
948948

949949
/**
950-
* Represents the IR translation of a root element, either a function or a global variable.
950+
* The IR translation of a root element, either a function or a global variable.
951951
*/
952952
abstract class TranslatedRootElement extends TranslatedElement {
953953
TranslatedRootElement() {

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedGlobalVar.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class TranslatedGlobalOrNamespaceVarInit extends TranslatedRootElement,
6565
result = this.getInstruction(InitializerVariableAddressTag())
6666
or
6767
tag = InitializerVariableAddressTag() and
68-
result = getChild(1).getFirstInstruction()
68+
result = this.getChild(1).getFirstInstruction()
6969
or
7070
tag = ReturnTag() and
7171
result = this.getInstruction(AliasedUseTag())

0 commit comments

Comments
 (0)