Skip to content

Commit c263cd3

Browse files
authored
Merge pull request #479 from jketema/extensionals
Use database extensionals instead of their wrapper classes in two predicates
2 parents a93b1c4 + f2425ad commit c263cd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/common/src/codingstandards/cpp/enhancements/ControlFlowGraphEnhancements.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import cpp
1010
* should be in this relation.
1111
*/
1212
pragma[noinline]
13-
private predicate isFunction(Element el) {
14-
el instanceof Function
13+
private predicate isFunction(@element el) {
14+
el instanceof @function
1515
or
1616
el.(Expr).getParent() = el
1717
}
@@ -22,7 +22,7 @@ private predicate isFunction(Element el) {
2222
*/
2323
pragma[noopt]
2424
private predicate callHasNoTarget(@funbindexpr fc) {
25-
exists(Function f |
25+
exists(@function f |
2626
funbind(fc, f) and
2727
not isFunction(f)
2828
)

0 commit comments

Comments
 (0)