Skip to content

Commit e0ba2b2

Browse files
committed
C++: Fix name of suppressUnusedType
1 parent 07bacbf commit e0ba2b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ predicate readStep(Node node1, Content f, Node node2) {
128128
* numeric conversions, and otherwise the erasure is used.
129129
*/
130130
RefType getErasedRepr(Type t) {
131-
suppressUnusedThis(t) and
131+
suppressUnusedType(t) and
132132
result instanceof VoidType // stub implementation
133133
}
134134

@@ -141,7 +141,7 @@ predicate compatibleTypes(Type t1, Type t2) {
141141
any() // stub implementation
142142
}
143143

144-
private predicate suppressUnusedThis(Type t) { any() }
144+
private predicate suppressUnusedType(Type t) { any() }
145145

146146
//////////////////////////////////////////////////////////////////////////////
147147
// Java QL library compatibility wrappers

0 commit comments

Comments
 (0)