Skip to content

Commit 46c1744

Browse files
committed
C/C++: getFullyConverted replaced by getConversion*
1 parent 56941db commit 46c1744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/experimental/Best Practices/UselessTest.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ predicate sameExpr(Expr e1, Expr e2) { globalValueNumber(e1).getAnExpr() = e2 }
1515

1616
Element nearestParent(Expr e) {
1717
if
18-
e.getParent().(Expr).getFullyConverted() instanceof ParenthesisExpr or
18+
e.getParent().(Expr).getConversion*() instanceof ParenthesisExpr or
1919
e.getParent() instanceof IfStmt or
2020
e.getParent() instanceof WhileStmt
2121
then result = e.getParent()

0 commit comments

Comments
 (0)