Skip to content

Commit

Permalink
Merge branch 'main' into criemen/flip-enable-plus
Browse files Browse the repository at this point in the history
  • Loading branch information
criemen authored Oct 10, 2024
2 parents 4c21444 + 25b3d76 commit 6322270
Show file tree
Hide file tree
Showing 43 changed files with 12,160 additions and 2,068 deletions.
15 changes: 15 additions & 0 deletions cpp/downgrades/6f5d51e89e762fe4609fd4ac8ee3afb04221e873/exprs.ql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class Expr extends @expr {
string toString() { none() }
}

class Location extends @location_expr {
string toString() { none() }
}

predicate isExprRequires(Expr expr) { exists(int kind | exprs(expr, kind, _) | kind = 390) }

from Expr expr, int kind, int kind_new, Location location
where
exprs(expr, kind, location) and
if isExprRequires(expr) then kind_new = 1 else kind_new = kind
select expr, kind_new, location
Loading

0 comments on commit 6322270

Please sign in to comment.