C++: Add a case for global or namespace variables in 'interpretElement0'.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-02-09 13:27:32 +00:00
parent 52a1d905f1
commit 3719e10ce8

View File

@@ -434,6 +434,12 @@ private Element interpretElement0(
subtypes = false and
classWithMember = namedClass
)
or
// Global or namespace variables
signature = "" and
type = "" and
subtypes = false and
result = any(GlobalOrNamespaceVariable v | v.hasQualifiedName(namespace, name))
)
}