C++: Fix name of suppressUnusedType

This commit is contained in:
Jonas Jensen
2018-09-04 13:38:28 +02:00
parent 07bacbf389
commit e0ba2b2251

View File

@@ -128,7 +128,7 @@ predicate readStep(Node node1, Content f, Node node2) {
* numeric conversions, and otherwise the erasure is used.
*/
RefType getErasedRepr(Type t) {
suppressUnusedThis(t) and
suppressUnusedType(t) and
result instanceof VoidType // stub implementation
}
@@ -141,7 +141,7 @@ predicate compatibleTypes(Type t1, Type t2) {
any() // stub implementation
}
private predicate suppressUnusedThis(Type t) { any() }
private predicate suppressUnusedType(Type t) { any() }
//////////////////////////////////////////////////////////////////////////////
// Java QL library compatibility wrappers