We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35aa2e6 commit b76e03cCopy full SHA for b76e03c
cpp/ql/src/semmle/code/cpp/exprs/Cast.qll
@@ -297,7 +297,7 @@ class BoolConversion extends Cast {
297
*/
298
class VoidConversion extends Cast {
299
VoidConversion() {
300
- conversionkinds(this, 0) and
+ conversionkinds(underlyingElement(this), 0) and
301
getType().getUnspecifiedType() instanceof VoidType
302
}
303
0 commit comments