CodeQL library for C/C++
codeql/cpp-all 0.12.12-dev (changelog, source)
Search

Member predicate Namespace::getAQualifierForMembers

Gets a namespace qualifier, like "namespace1::namespace2", through which the members of this namespace can be named. When inline namespace is used, this predicate may have multiple results.

This predicate does not take namespace aliases into account. Unlike inline namespaces, specialization of templates cannot happen through an alias. Aliases are also local to the compilation unit, while inline namespaces affect the whole program.

string getAQualifierForMembers()