We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4be138d commit 083a4b2Copy full SHA for 083a4b2
cpp/ql/src/semmle/code/cpp/exprs/Expr.qll
@@ -402,7 +402,7 @@ class Expr extends StmtParent, @expr {
402
*/
403
predicate hasImplicitConversion() {
404
exists(Expr e |
405
- exprconv(underlyingElement(this), unresolveElement(e)) and e.(Cast).isImplicit()
+ exprconv(underlyingElement(this), unresolveElement(e)) and e.(Conversion).isImplicit()
406
)
407
}
408
@@ -414,7 +414,7 @@ class Expr extends StmtParent, @expr {
414
415
predicate hasExplicitConversion() {
416
417
- exprconv(underlyingElement(this), unresolveElement(e)) and not e.(Cast).isImplicit()
+ exprconv(underlyingElement(this), unresolveElement(e)) and not e.(Conversion).isImplicit()
418
419
420
0 commit comments