mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Use strictcount
This commit is contained in:
@@ -34,7 +34,7 @@ module ArgumentList {
|
||||
private class ArgArgumentList extends ArgumentList::Range, @argument_list {
|
||||
final override Generated::ArgumentList generated;
|
||||
|
||||
ArgArgumentList() { count(generated.getChild(_)) != 1 }
|
||||
ArgArgumentList() { strictcount(generated.getChild(_)) > 1 }
|
||||
|
||||
final override Expr getElement(int i) { result = generated.getChild(i) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user