mirror of
https://github.com/github/codeql.git
synced 2026-02-20 17:03:41 +01: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