C++: Give NamespaceVariables a qualified name

This commit is contained in:
Ian Lynagh
2018-08-31 16:39:21 +01:00
parent d7d8186bbe
commit 3a00e24e89
2 changed files with 2 additions and 2 deletions

View File

@@ -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()