We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a93b1c4 + f2425ad commit c263cd3Copy full SHA for c263cd3
cpp/common/src/codingstandards/cpp/enhancements/ControlFlowGraphEnhancements.qll
@@ -10,8 +10,8 @@ import cpp
10
* should be in this relation.
11
*/
12
pragma[noinline]
13
-private predicate isFunction(Element el) {
14
- el instanceof Function
+private predicate isFunction(@element el) {
+ el instanceof @function
15
or
16
el.(Expr).getParent() = el
17
}
@@ -22,7 +22,7 @@ private predicate isFunction(Element el) {
22
23
pragma[noopt]
24
private predicate callHasNoTarget(@funbindexpr fc) {
25
- exists(Function f |
+ exists(@function f |
26
funbind(fc, f) and
27
not isFunction(f)
28
)
0 commit comments