mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
C++: Give NamespaceVariables a qualified name
This commit is contained in:
@@ -62,7 +62,7 @@ abstract class Declaration extends Locatable, @declaration {
|
||||
| c = this and
|
||||
result = c.getDeclaringEnum().getQualifiedName() + "::" + c.getName())
|
||||
or
|
||||
exists (GlobalVariable v, string s1, string s2
|
||||
exists (GlobalOrNamespaceVariable v, string s1, string s2
|
||||
| v = this and
|
||||
s2 = v.getNamespace().getQualifiedName() and
|
||||
s1 = v.getName()
|
||||
|
||||
Reference in New Issue
Block a user