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.
1 parent 0baa9e9 commit ce2d959Copy full SHA for ce2d959
shared/controlflow/codeql/controlflow/Cfg.qll
@@ -1387,9 +1387,13 @@ module Make<LocationSig Location, InputSig<Location> Input> {
1387
strictcount(sk.getListOrder()) > 1
1388
}
1389
1390
+ /** Holds if `n` has multiple textual representations. */
1391
query predicate multipleToString(Node n, string s) {
1392
s = strictconcat(n.toString(), ",") and
1393
strictcount(n.toString()) > 1
1394
1395
+
1396
+ /** Holds if CFG scope `scope` lacks an initial AST node. */
1397
+ query predicate scopeNoFirst(CfgScope scope) { not scopeFirst(scope, _) }
1398
1399
0 commit comments