Skip to content

Commit 50709b2

Browse files
committed
C++: Replace implication with disjunction in charpred for Call
1 parent 667bb32 commit 50709b2

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/src/semmle/code/cpp/exprs

1 file changed

+1
-1
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Call.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Call extends Expr, NameQualifiableElement, TCall {
1616
// ```
1717
// So for the charpred for `Call` we include the requirement that if this is an instance of
1818
// `@funbindexpr` it must be a _call_ to the function.
19-
Call() { this instanceof @funbindexpr implies iscall(underlyingElement(this), _) }
19+
Call() { this instanceof @callexpr or iscall(underlyingElement(this), _) }
2020

2121
/**
2222
* Gets the number of arguments (actual parameters) of this call. The count

0 commit comments

Comments
 (0)