mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
recognize the names from all VarDefs
This commit is contained in:
@@ -20,7 +20,7 @@ string getName(AstNode node, string kind) {
|
||||
result = node.(NewType).getName() and
|
||||
kind = "newtype"
|
||||
or
|
||||
result = node.(VarDecl).getName() and
|
||||
result = node.(VarDef).getName() and
|
||||
kind = "variable" and
|
||||
not node = any(FieldDecl f).getVarDecl()
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user