Skip to content

Commit fc7334a

Browse files
committed
C++: Fix ql-for-ql warning
1 parent 8c49470 commit fc7334a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/lib/semmle/code/cpp/ir/implementation/raw/internal/TranslatedCall.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class TranslatedFunctionCall extends TranslatedCallExpr, TranslatedDirectCall {
364364
final override predicate mayThrowException(ExceptionEdge e) {
365365
this.mustThrowException(e)
366366
or
367-
exists(MicrosoftTryStmt t | t = expr.getEnclosingStmt().getParentStmt*()) and
367+
expr.getEnclosingStmt().getParentStmt*() instanceof MicrosoftTryStmt and
368368
e instanceof SehExceptionEdge
369369
}
370370

0 commit comments

Comments
 (0)