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

Class Variable

Import path

import semmle.code.cpp.internal.QualifiedName

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    Inherited predicates

    canHaveQualifiedNamefrom Declaration
    getDeclaringType

    Gets the class where this member is declared, if it is a member. For templates, both the template itself and all instantiations of the template are considered to have the same declaring class.

    from Declaration
    getName

    Gets the name of this declaration.

    from Declaration
    getNamespacefrom Declaration
    getQualifiedNamefrom Declaration
    getTypeQualifierWithArgsfrom Declaration
    getTypeQualifierWithoutArgsfrom Declaration
    hasDeclaringType

    Holds if this declaration is a member of a class/struct/union.

    from Declaration
    hasQualifiedNamefrom Declaration
    isMember

    Holds if this declaration is a member of a class/struct/union.

    from Declaration
    isTopLevelfrom Declaration
    toStringfrom Declaration