|
CodeSonar C++ API
|
Enumeration class: describes a valid token kind-role (kind-usage) pair. More...
Public Member Functions | |
| xr_kind_role (xr_kind k, xr_role r) | |
| Constructor. | |
| csint64 | as_integer () const |
Get an integer representation of this. | |
| std::string | as_repr () const |
| Get a representation of a xr_kind_role object that includes information useful for debugging. | |
| std::string | as_string () const |
| Get a simple string representation of a xr_kind_role object. | |
| int | cmp (const xr_kind_role &other) const |
| Comparison function for xr_kind_role, with respect to a stable overall ordering. | |
| xr_kind_role_pair | decompose () const |
| Get the xr_kind and xr_role corresponding to a xr_kind_role. | |
| cs_hash_t | hash () const |
| Hash function for xr_kind_role. | |
| std::string | name () const |
| Get the name of a xr_kind_role object. | |
Static Public Member Functions | |
| static xr_kind_role | from_integer (csint64 _inner) |
| Construct an instance from an integer representation. | |
Static Public Attributes | |
| static const xr_kind_role | BUILTIN_OTHER |
Any occurrence of the name of a __builtin_*() function. | |
| static const xr_kind_role | ENUM_DEFINITION |
| An individual enum symbol, when defined. | |
| static const xr_kind_role | ENUM_OCCURRENCE |
| Any occurrence of an individual enum symbol other than its definition. | |
| static const xr_kind_role | FIELD_CONSTRUCTOR_INITIALIZATION |
| [C++ only] A field name in an aggregate, when initialized in an initialization list. | |
| static const xr_kind_role | FIELD_DEFINITION |
| A field name in an aggregate, when defined. | |
| static const xr_kind_role | FIELD_INVOCATION |
| A field name in an aggregate, when invoked (for function pointer fields). | |
| static const xr_kind_role | FIELD_METHOD_INVOCATION |
| [C++ only] A field name in an aggregate, when one of its methods is invoked (for aggregate fields). | |
| static const xr_kind_role | FIELD_OTHER |
| A field name in an aggregate, otherwise. | |
| static const xr_kind_role | FIELD_READ |
| A field name in an aggregate, when its value is read. | |
| static const xr_kind_role | FIELD_SIZEOF |
A field name in an aggregate, as the argument to sizeof() . | |
| static const xr_kind_role | FIELD_TAKE_ADDRESS |
A field name f in an aggregate, as the operand of an addressing expression &f . | |
| static const xr_kind_role | FIELD_WRITE |
| A field name in an aggregate, when written to. | |
| static const xr_kind_role | FIELD_WRITE_THROUGH |
| A field name in an aggregate, when it is dereferenced and its target written to (for pointer fields). | |
| static const xr_kind_role | FILE_DEFINITION |
A file name fname.fext , when the source file called fname.fext is present in the analysis. | |
| static const xr_kind_role | FILE_INCLUDE |
A file name in an #include directive. | |
| static const xr_kind_role | FUNC_CALL |
| A function name, when the function is called. | |
| static const xr_kind_role | FUNC_DECLARATION |
| A function name, when declared. | |
| static const xr_kind_role | FUNC_DEFINITION |
| A function name, when defined. | |
| static const xr_kind_role | FUNC_FRIEND |
[C++ only] A function name, declared as a friend . | |
| static const xr_kind_role | FUNC_OTHER |
| A function name, otherwise. | |
| static const xr_kind_role | FUNC_SIZEOF |
A function name, as the argument to sizeof() . | |
| static const xr_kind_role | FUNC_STATIC_CALL |
| A function name, when the function is called. | |
| static const xr_kind_role | FUNC_STATIC_DECLARATION |
| A function name, when declared. | |
| static const xr_kind_role | FUNC_STATIC_DEFINITION |
| A static function name, when defined. | |
| static const xr_kind_role | FUNC_STATIC_FRIEND |
[C++ only] A function name, declared as a friend . | |
| static const xr_kind_role | FUNC_STATIC_OTHER |
| A function name, otherwise. | |
| static const xr_kind_role | FUNC_STATIC_SIZEOF |
A function name, as the argument to sizeof() . | |
| static const xr_kind_role | FUNC_STATIC_TAKE_ADDRESS |
A function name fn , when as the operand of an addressing expression &fn . | |
| static const xr_kind_role | FUNC_STATIC_TEMPL_ARG |
| [C++ only] A function name, as a value argument for template instantiation. | |
| static const xr_kind_role | FUNC_TAKE_ADDRESS |
A function name fn , when as the operand of an addressing expression &fn . | |
| static const xr_kind_role | FUNC_TEMPL_ARG |
| [C++ only] A function name, as a value argument for template instantiation. | |
| static const xr_kind_role | LABEL_DEFINITION |
| An identifier used as a label, when defined (used to label a statement). | |
| static const xr_kind_role | LABEL_GOTO |
An identifier used as a label, as the operand of a goto expression. | |
| static const xr_kind_role | LABEL_TAKE_ADDRESS |
An identifier L used as a label, as the operand of an addressing expression &L . | |
| static const xr_kind_role | MACRO_DEFINITION |
A macro name, when first defined with #define (includes redefining after #undef ). | |
| static const xr_kind_role | MACRO_INVOCATION |
| A macro name, when invoked. | |
| static const xr_kind_role | MACRO_REDEF |
A macro name, when defined (with #define ) twice or more with no intervening #undef . | |
| static const xr_kind_role | MACRO_UNDEF |
A macro name, when undefined with #undef . | |
| static const xr_kind_role | METHOD_CALL |
| A method name, when the method is called. | |
| static const xr_kind_role | METHOD_DECLARATION |
| A method name, when declared. | |
| static const xr_kind_role | METHOD_DEFINITION |
| A method name, when defined. | |
| static const xr_kind_role | METHOD_FRIEND |
[C++ only] A method name, declared as a friend . | |
| static const xr_kind_role | METHOD_OTHER |
| A method name, otherwise. | |
| static const xr_kind_role | METHOD_SIZEOF |
A method name, as the argument to sizeof() . | |
| static const xr_kind_role | METHOD_STATIC_CALL |
| A static method name, when the method is called. | |
| static const xr_kind_role | METHOD_STATIC_DECLARATION |
| A static method name, when declared. | |
| static const xr_kind_role | METHOD_STATIC_DEFINITION |
| A static method name, when defined. | |
| static const xr_kind_role | METHOD_STATIC_FRIEND |
[C++ only] A static method name, declared as a friend . | |
| static const xr_kind_role | METHOD_STATIC_OTHER |
| A static method name, otherwise. | |
| static const xr_kind_role | METHOD_STATIC_SIZEOF |
A static method name, as the argument to sizeof() . | |
| static const xr_kind_role | METHOD_STATIC_TAKE_ADDRESS |
A static method name fn , when as the operand of an addressing expression &fn . | |
| static const xr_kind_role | METHOD_STATIC_TEMPL_ARG |
| [C++ only] A static method name, as a value argument for template instantiation. | |
| static const xr_kind_role | METHOD_TAKE_ADDRESS |
A method name fn , when as the operand of an addressing expression &fn . | |
| static const xr_kind_role | METHOD_TEMPL_ARG |
| [C++ only] A method name, as a value argument for template instantiation. | |
| static const xr_kind_role | NAMESPACE_DEFINITION |
| [C++ only] A namespace name, when defined. | |
| static const xr_kind_role | NAMESPACE_EXT |
| A namespace name, at any subsequent extension of the namespace. | |
| static const xr_kind_role | NAMESPACE_QUALIFIER |
A namespace name ns , in the first operand of a name qualifier expression cs::x . | |
| static const xr_kind_role | NAMESPACE_USING |
A namespace name, as the operand in a using namespace expression. | |
| static const xr_kind_role | STRINGLIT_DEFINITION |
| Any occurrence of a string literal in source code (after preprocessing). | |
| static const xr_kind_role | TAG_AGGREGATE_MEMBER |
| A tag name, as the type of a member of an aggregate. | |
| static const xr_kind_role | TAG_CAST |
A tag name, as the target type of a cast operation. | |
| static const xr_kind_role | TAG_CATCH_PARAM |
| (not in use) | |
| static const xr_kind_role | TAG_CONSTANT |
| (not in use) | |
| static const xr_kind_role | TAG_CONSTRUCTOR_INITIALIZATION |
| (not in use) | |
| static const xr_kind_role | TAG_DECLARATION |
| A tag name, when declared. | |
| static const xr_kind_role | TAG_DEFINITION |
| A tag in an enum, struct or union. | |
| static const xr_kind_role | TAG_FILE_STATIC |
| A tag name, as the type of a file static variable. | |
| static const xr_kind_role | TAG_FORMAL |
| A tag name, as the type of a formal parameter in a function definition or declaration. | |
| static const xr_kind_role | TAG_FRIEND |
| (not in use) | |
| static const xr_kind_role | TAG_GLOBAL |
| A tag name, as the type of a global variable. | |
| static const xr_kind_role | TAG_LOCAL |
| A tag name, as the type of a local variable. | |
| static const xr_kind_role | TAG_LOCAL_STATIC |
| A tag name, as the type of a local static variable. | |
| static const xr_kind_role | TAG_NEW |
| (not in use) | |
| static const xr_kind_role | TAG_OTHER |
| A tag name, otherwise. | |
| static const xr_kind_role | TAG_QUALIFIER |
| (not in use) | |
| static const xr_kind_role | TAG_RETURN_TYPE |
| A tag name, as the return type in a function definition or declaration. | |
| static const xr_kind_role | TAG_SIZEOF |
A tag name, as the argument to sizeof() . | |
| static const xr_kind_role | TAG_SUBCLASS |
| (not in use) | |
| static const xr_kind_role | TAG_TEMPL_ARG |
| (not in use) | |
| static const xr_kind_role | TAG_TEMPLATE_PARAMETER |
| (not in use) | |
| static const xr_kind_role | TAG_THROW_EXCEPTION_SPEC |
| (not in use) | |
| static const xr_kind_role | TAG_TYPEDEF |
A tag name, in the first operand of a typedef statement. | |
| static const xr_kind_role | TLT_AGGREGATE_MEMBER |
| [C++ only] The name of a type parameter for a template, as the type of a data member in an aggregate structure. | |
| static const xr_kind_role | TLT_CAST |
[C++ only] The name of a type parameter for a template, as the target type of a cast operation. | |
| static const xr_kind_role | TLT_CATCH_PARAM |
[C++ only] The name of a type parameter for a template, as the parameter type in a catch expression. | |
| static const xr_kind_role | TLT_CONSTANT |
[C++ only] The name of a type parameter for a template, as a function parameter qualified as const . | |
| static const xr_kind_role | TLT_CONSTRUCTOR_INITIALIZATION |
| [C++ only] The name of a type parameter for a template, as the type of a base class constructor in an initialization list. | |
| static const xr_kind_role | TLT_DEFINITION |
| The name of a type parameter for a template, when defined (in the template definition/declaration). | |
| static const xr_kind_role | TLT_FILE_STATIC |
| (not in use) | |
| static const xr_kind_role | TLT_FORMAL |
| [C++ only] The name of a type parameter for a template, as the type of a formal parameter in a function definition or declaration. | |
| static const xr_kind_role | TLT_FRIEND |
[C++ only] The name of a type parameter for a template, declared as a friend . | |
| static const xr_kind_role | TLT_GLOBAL |
| [C++ only] The name of a type parameter for a template, as the type of a global variable. | |
| static const xr_kind_role | TLT_LOCAL |
| [C++ only] The name of a type parameter for a template, as the type of a local variable. | |
| static const xr_kind_role | TLT_LOCAL_STATIC |
| [C++ only] The name of a type parameter for a template, as the type of a local static variable. | |
| static const xr_kind_role | TLT_NEW |
[C++ only] The name of a type parameter for a template, in the type of a new expression. | |
| static const xr_kind_role | TLT_OTHER |
| [C++ only] The name of a type parameter for a template, otherwise. | |
| static const xr_kind_role | TLT_QUALIFIER |
[C++ only] The name of a type parameter TT for a template, in the first operand of a name qualifier expression TT::x . | |
| static const xr_kind_role | TLT_RETURN_TYPE |
| [C++ only] The name of a type parameter for a template, as the return type in a function definition or declaration. | |
| static const xr_kind_role | TLT_SIZEOF |
[C++ only] The name of a type parameter for a template, as the argument to sizeof() . | |
| static const xr_kind_role | TLT_SUBCLASS |
| [C++ only] The name of a type parameter for a template, as the superclass in a subclass declaration. | |
| static const xr_kind_role | TLT_TEMPL_ARG |
| [C++ only] [C++ only] The name of a type parameter for a template, as a type argument for template instantiation. | |
| static const xr_kind_role | TLT_TEMPLATE_PARAMETER |
| [C++ only] The name of a type parameter for a template, as the type of a template value parameter. | |
| static const xr_kind_role | TLT_THROW_EXCEPTION_SPEC |
[C++ only] The name of a type parameter for a template, as the parameter type in a throw expression. | |
| static const xr_kind_role | TLT_TYPEDEF |
[C++ only] The name of a type parameter for a template, in the first operand of a typedef statement. | |
| static const xr_kind_role | TLV_DEFINITION |
| The name of a value parameter for a template, when defined (in the template definition/declaration). | |
| static const xr_kind_role | TLV_INVOCATION |
| [C++ only] The name of a value parameter for a template, when invoked (for function pointers). | |
| static const xr_kind_role | TLV_METHOD_INVOCATION |
| [C++ only] The name of a value parameter for a template, when one of its methods is invoked (for aggregates). | |
| static const xr_kind_role | TLV_OTHER |
| [C++ only] The name of a value parameter for a template, otherwise. | |
| static const xr_kind_role | TLV_READ |
| [C++ only] The name of a value parameter for a template, when its value is read. | |
| static const xr_kind_role | TLV_SIZEOF |
[C++ only] The name of a value parameter for a template, as the argument to sizeof() . | |
| static const xr_kind_role | TLV_TAKE_ADDRESS |
[C++ only] The name of a value parameter Tv for a template, as the operand of an addressing expression &Tv . | |
| static const xr_kind_role | TLV_TEMPL_ARG |
| [C++ only] The name of a value parameter for a template, as a value argument for template instantiation. | |
| static const xr_kind_role | TLV_WRITE |
| [C++ only] The name of a value parameter for a template, when it is written to. | |
| static const xr_kind_role | TLV_WRITE_THROUGH |
| [C++ only] The name of a value parameter for a template, when it is dereferenced and its target written to (for pointers). | |
| static const xr_kind_role | TYPE_AGGREGATE_MEMBER |
| A type name, as the type of a member of an aggregate. | |
| static const xr_kind_role | TYPE_CAST |
A type name, as the target type of a cast operation. | |
| static const xr_kind_role | TYPE_CATCH_PARAM |
[C++ only] A type name, as the parameter type in a catch expression. | |
| static const xr_kind_role | TYPE_CONSTANT |
[C++ only] A type name, as the type of a variable declared as const . | |
| static const xr_kind_role | TYPE_CONSTRUCTOR_INITIALIZATION |
| [C++ only] A type name, as the type of a base class constructor in an initialization list. | |
| static const xr_kind_role | TYPE_DECLARATION |
| [C++ only] A type name, when declared. | |
| static const xr_kind_role | TYPE_DEFINITION |
| Type name, when defined. | |
| static const xr_kind_role | TYPE_FILE_STATIC |
| A type name, as the type of a file static variable. | |
| static const xr_kind_role | TYPE_FORMAL |
| A type name, as the type of a formal parameter in a function definition or declaration. | |
| static const xr_kind_role | TYPE_FRIEND |
[C++ only] A type name declared as a friend . | |
| static const xr_kind_role | TYPE_GLOBAL |
| A type name, as the type of a global variable. | |
| static const xr_kind_role | TYPE_LOCAL |
| A type name, as the type of a local variable. | |
| static const xr_kind_role | TYPE_LOCAL_STATIC |
| A type name, as the type of a local static variable. | |
| static const xr_kind_role | TYPE_NEW |
[C++ only] A type name, in the type of a new expression. | |
| static const xr_kind_role | TYPE_OTHER |
| A type name, otherwise. | |
| static const xr_kind_role | TYPE_QUALIFIER |
[C++ only] A type name T , in the first operand of a name qualifier expression T::x . | |
| static const xr_kind_role | TYPE_RETURN_TYPE |
| A type name, as the return type in a function definition or declaration. | |
| static const xr_kind_role | TYPE_SIZEOF |
A type name, as the argument to sizeof() . | |
| static const xr_kind_role | TYPE_SUBCLASS |
| [C++ only] A type name, as the superclass in a subclass declaration. | |
| static const xr_kind_role | TYPE_TAG |
A type name that is defined to be the same as the tag in the struct enum or union . | |
| static const xr_kind_role | TYPE_TEMPL_ARG |
| [C++ only] A type name, as a type argument for template instantiation. | |
| static const xr_kind_role | TYPE_TEMPLATE_PARAMETER |
| [C++ only] A type name, as the type of a template value parameter. | |
| static const xr_kind_role | TYPE_THROW_EXCEPTION_SPEC |
[C++ only] A type name, as the parameter type in a throw expression. | |
| static const xr_kind_role | TYPE_TYPEDEF |
A type name, in the first operand of a typedef statement. | |
| static const xr_kind_role | VAR_GLOBAL_DECLARATION |
| A global variable name, when declared. | |
| static const xr_kind_role | VAR_GLOBAL_DEFINITION |
| An global variable name, when defined. | |
| static const xr_kind_role | VAR_GLOBAL_INVOCATION |
A global variable name v , when invoked (for function pointer variables). | |
| static const xr_kind_role | VAR_GLOBAL_METHOD_INVOCATION |
[C++ only] A global variable name v , when one of its methods is invoked (for aggregate variables). | |
| static const xr_kind_role | VAR_GLOBAL_OTHER |
| A global variable name, otherwise. | |
| static const xr_kind_role | VAR_GLOBAL_READ |
| A global variable name, when its value is read. | |
| static const xr_kind_role | VAR_GLOBAL_SIZEOF |
A global variable name, as the argument to sizeof() . | |
| static const xr_kind_role | VAR_GLOBAL_TAKE_ADDRESS |
A global variable name v , as the operand of an addressing expression &v . | |
| static const xr_kind_role | VAR_GLOBAL_TEMPL_ARG |
[C++ only] A global variable name v , as an argument for template instantiation. | |
| static const xr_kind_role | VAR_GLOBAL_WRITE |
| A global variable name, when written to. | |
| static const xr_kind_role | VAR_GLOBAL_WRITE_THROUGH |
| A global variable name, when it is dereferenced and its target written to (for pointer variables). | |
| static const xr_kind_role | VAR_LOCAL_DECLARATION |
| A local variable name, when declared. | |
| static const xr_kind_role | VAR_LOCAL_DEFINITION |
| A local variable name, when defined. | |
| static const xr_kind_role | VAR_LOCAL_INVOCATION |
A local variable name v , when invoked (for function pointer variables). | |
| static const xr_kind_role | VAR_LOCAL_METHOD_INVOCATION |
[C++ only] A local variable name v , when one of its methods is invoked (for aggregate variables). | |
| static const xr_kind_role | VAR_LOCAL_OTHER |
| A local variable name, otherwise. | |
| static const xr_kind_role | VAR_LOCAL_READ |
| A local variable name, when its value is read. | |
| static const xr_kind_role | VAR_LOCAL_SIZEOF |
A local variable name, as the argument to sizeof() . | |
| static const xr_kind_role | VAR_LOCAL_STATIC_DECLARATION |
| (not in use) | |
| static const xr_kind_role | VAR_LOCAL_STATIC_DEFINITION |
| A local static variable name, when defined. | |
| static const xr_kind_role | VAR_LOCAL_STATIC_INVOCATION |
A local static variable name v , when invoked (for function pointer variables). | |
| static const xr_kind_role | VAR_LOCAL_STATIC_METHOD_INVOCATION |
[C++ only] A local static variable name v , when one of its methods is invoked (for aggregate variables). | |
| static const xr_kind_role | VAR_LOCAL_STATIC_OTHER |
| A local static variable name, otherwise. | |
| static const xr_kind_role | VAR_LOCAL_STATIC_READ |
| A local static variable name, when its value is read. | |
| static const xr_kind_role | VAR_LOCAL_STATIC_SIZEOF |
A local static variable name, as the argument to sizeof() . | |
| static const xr_kind_role | VAR_LOCAL_STATIC_TAKE_ADDRESS |
A local static variable name v , as the operand of an addressing expression &v . | |
| static const xr_kind_role | VAR_LOCAL_STATIC_TEMPL_ARG |
[C++ only] A local static variable name v , as an argument for template instantiation. | |
| static const xr_kind_role | VAR_LOCAL_STATIC_WRITE |
| A local static variable name, when written to. | |
| static const xr_kind_role | VAR_LOCAL_STATIC_WRITE_THROUGH |
| A local static variable name, when it is dereferenced and its target written to (for pointer variables). | |
| static const xr_kind_role | VAR_LOCAL_TAKE_ADDRESS |
A local variable name v , as the operand of an addressing expression &v . | |
| static const xr_kind_role | VAR_LOCAL_TEMPL_ARG |
[C++ only] A variable name v , as an argument for template instantiation. | |
| static const xr_kind_role | VAR_LOCAL_WRITE |
| A local variable name, when written to. | |
| static const xr_kind_role | VAR_LOCAL_WRITE_THROUGH |
| A local variable name, when it is dereferenced and its target written to (for pointer variables). | |
| static const xr_kind_role | VAR_PARAMETER_DECLARATION |
| A parameter name, when declared. | |
| static const xr_kind_role | VAR_PARAMETER_DEFINITION |
| A parameter name, when defined. | |
| static const xr_kind_role | VAR_PARAMETER_INVOCATION |
A parameter name v , when invoked (for function pointer parameters). | |
| static const xr_kind_role | VAR_PARAMETER_METHOD_INVOCATION |
[C++ only] A parameter name v , when one of its methods is invoked (for aggregate variables). | |
| static const xr_kind_role | VAR_PARAMETER_OTHER |
| A parameter name, otherwise. | |
| static const xr_kind_role | VAR_PARAMETER_READ |
| A parameter name, when its value is read. | |
| static const xr_kind_role | VAR_PARAMETER_SIZEOF |
A parameter name, as the argument to sizeof() . | |
| static const xr_kind_role | VAR_PARAMETER_TAKE_ADDRESS |
A parameter name v , as the operand of an addressing expression &v . | |
| static const xr_kind_role | VAR_PARAMETER_TEMPL_ARG |
| (not in use) | |
| static const xr_kind_role | VAR_PARAMETER_WRITE |
| A parameter name, when written to. | |
| static const xr_kind_role | VAR_PARAMETER_WRITE_THROUGH |
| A parameter name, when it is dereferenced and its target written to (for pointer variables). | |
| static const xr_kind_role | VAR_STATIC_DECLARATION |
| A static variable name, when declared. | |
| static const xr_kind_role | VAR_STATIC_DEFINITION |
| A file static variable name, when defined. | |
| static const xr_kind_role | VAR_STATIC_INVOCATION |
A static variable name v , when invoked (for function pointer variables). | |
| static const xr_kind_role | VAR_STATIC_METHOD_INVOCATION |
[C++ only] A static variable name v , when one of its methods is invoked (for aggregate variables). | |
| static const xr_kind_role | VAR_STATIC_OTHER |
| A static variable name, otherwise. | |
| static const xr_kind_role | VAR_STATIC_READ |
| A static variable name, when its value is read. | |
| static const xr_kind_role | VAR_STATIC_SIZEOF |
A variable name, as the argument to sizeof() . | |
| static const xr_kind_role | VAR_STATIC_TAKE_ADDRESS |
A static variable name v , as the operand of an addressing expression &v . | |
| static const xr_kind_role | VAR_STATIC_TEMPL_ARG |
[C++ only] A static variable name v , as an argument for template instantiation. | |
| static const xr_kind_role | VAR_STATIC_WRITE |
| A static variable name, when written to. | |
| static const xr_kind_role | VAR_STATIC_WRITE_THROUGH |
| A static variable name, when it is dereferenced and its target written to (for pointer variables). | |
Related Symbols | |
(Note that these are not member symbols.) | |
| bool | operator!= (const xr_kind_role &a, const xr_kind_role &b) |
| Inequality operator for xr_kind_role. | |
| bool | operator< (const xr_kind_role &a, const xr_kind_role &b) |
| Less-than operator for xr_kind_role. | |
| std::ostream & | operator<< (std::ostream &out, const xr_kind_role &a) |
| Print a representation of a xr_kind_role object to the specified stream. | |
| bool | operator<= (const xr_kind_role &a, const xr_kind_role &b) |
| Less-than-or-equal operator for xr_kind_role. | |
| bool | operator== (const xr_kind_role &a, const xr_kind_role &b) |
| Equality operator for xr_kind_role. | |
| bool | operator> (const xr_kind_role &a, const xr_kind_role &b) |
| Greater-than operator for xr_kind_role. | |
| bool | operator>= (const xr_kind_role &a, const xr_kind_role &b) |
| Greater-than-or-equal operator for xr_kind_role. | |
Enumeration class: describes a valid token kind-role (kind-usage) pair.
For examples, see C and C++ Kinds and Usages.
Constructor.
| result::ERROR_INVALID_ARGUMENT |
|
inline |
Get an integer representation of this.
Invariant: For xr_kind_role x, xr_kind_role.from_integer(x.as_integer()) == x
|
inline |
Get a representation of a xr_kind_role object that includes information useful for debugging.
|
inline |
Get a simple string representation of a xr_kind_role object.
|
inline |
Comparison function for xr_kind_role, with respect to a stable overall ordering.
| other | The xr_kind_role object to compare against. |
this < other this > other
|
inline |
Get the xr_kind and xr_role corresponding to a xr_kind_role.
|
inlinestatic |
Construct an instance from an integer representation.
| [in] | _inner | The integer representation, as returned by as_integer(). |
Invariant: For xr_kind_role x, xr_kind_role.from_integer(x.as_integer()) == x
| cs::result::ERROR_INVALID_ARGUMENT | if _inner is not a valid integer representation for a xr_kind_role instance. |
|
inline |
Hash function for xr_kind_role.
|
inline |
Get the name of a xr_kind_role object.
|
related |
Inequality operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
false if a and b are equal according to xr_kind_role::cmp(), true otherwise.
|
related |
Less-than operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
true if a < b according to xr_kind_role::cmp() , false otherwise.
|
related |
Print a representation of a xr_kind_role object to the specified stream.
| [in] | out | The stream to print to. |
| [in] | a | The xr_kind_role object to print. |
|
related |
Less-than-or-equal operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
true if a <= b according to xr_kind_role::cmp() , false otherwise.
|
related |
Equality operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
true if a and b are equal according to xr_kind_role::cmp(), false otherwise.
|
related |
Greater-than operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
true if a > b according to xr_kind_role::cmp() , false otherwise.
|
related |
Greater-than-or-equal operator for xr_kind_role.
| [in] | a | The xr_kind_role object to compare. |
| [in] | b | The xr_kind_role object to compare against. |
true if a >= b according to xr_kind_role::cmp() , false otherwise.
|
static |
Any occurrence of the name of a __builtin_*() function.
|
static |
An individual enum symbol, when defined.
|
static |
Any occurrence of an individual enum symbol other than its definition.
|
static |
[C++ only] A field name in an aggregate, when initialized in an initialization list.
|
static |
A field name in an aggregate, when defined.
|
static |
A field name in an aggregate, when invoked (for function pointer fields).
|
static |
[C++ only] A field name in an aggregate, when one of its methods is invoked (for aggregate fields).
|
static |
A field name in an aggregate, otherwise.
|
static |
A field name in an aggregate, when its value is read.
|
static |
A field name in an aggregate, as the argument to sizeof() .
|
static |
A field name f in an aggregate, as the operand of an addressing expression &f .
|
static |
A field name in an aggregate, when written to.
|
static |
A field name in an aggregate, when it is dereferenced and its target written to (for pointer fields).
|
static |
A file name fname.fext , when the source file called fname.fext is present in the analysis.
|
static |
A file name in an #include directive.
|
static |
A function name, when the function is called.
|
static |
A function name, when declared.
|
static |
A function name, when defined.
|
static |
[C++ only] A function name, declared as a friend .
|
static |
A function name, otherwise.
|
static |
A function name, as the argument to sizeof() .
|
static |
A function name, when the function is called.
|
static |
A function name, when declared.
|
static |
A static function name, when defined.
|
static |
[C++ only] A function name, declared as a friend .
|
static |
A function name, otherwise.
|
static |
A function name, as the argument to sizeof() .
|
static |
A function name fn , when as the operand of an addressing expression &fn .
|
static |
[C++ only] A function name, as a value argument for template instantiation.
|
static |
A function name fn , when as the operand of an addressing expression &fn .
|
static |
[C++ only] A function name, as a value argument for template instantiation.
|
static |
An identifier used as a label, when defined (used to label a statement).
|
static |
An identifier used as a label, as the operand of a goto expression.
|
static |
An identifier L used as a label, as the operand of an addressing expression &L .
|
static |
A macro name, when first defined with #define (includes redefining after #undef ).
|
static |
A macro name, when invoked.
|
static |
A macro name, when defined (with #define ) twice or more with no intervening #undef .
|
static |
A macro name, when undefined with #undef .
|
static |
A method name, when the method is called.
|
static |
A method name, when declared.
|
static |
A method name, when defined.
|
static |
[C++ only] A method name, declared as a friend .
|
static |
A method name, otherwise.
|
static |
A method name, as the argument to sizeof() .
|
static |
A static method name, when the method is called.
|
static |
A static method name, when declared.
|
static |
A static method name, when defined.
|
static |
[C++ only] A static method name, declared as a friend .
|
static |
A static method name, otherwise.
|
static |
A static method name, as the argument to sizeof() .
|
static |
A static method name fn , when as the operand of an addressing expression &fn .
|
static |
[C++ only] A static method name, as a value argument for template instantiation.
|
static |
A method name fn , when as the operand of an addressing expression &fn .
|
static |
[C++ only] A method name, as a value argument for template instantiation.
|
static |
[C++ only] A namespace name, when defined.
|
static |
A namespace name, at any subsequent extension of the namespace.
|
static |
A namespace name ns , in the first operand of a name qualifier expression cs::x .
|
static |
A namespace name, as the operand in a using namespace expression.
|
static |
Any occurrence of a string literal in source code (after preprocessing).
|
static |
A tag name, as the type of a member of an aggregate.
|
static |
A tag name, as the target type of a cast operation.
|
static |
(not in use)
|
static |
(not in use)
|
static |
(not in use)
|
static |
A tag name, when declared.
|
static |
A tag in an enum, struct or union.
|
static |
A tag name, as the type of a file static variable.
|
static |
A tag name, as the type of a formal parameter in a function definition or declaration.
|
static |
(not in use)
|
static |
A tag name, as the type of a global variable.
|
static |
A tag name, as the type of a local variable.
|
static |
A tag name, as the type of a local static variable.
|
static |
(not in use)
|
static |
A tag name, otherwise.
|
static |
(not in use)
|
static |
A tag name, as the return type in a function definition or declaration.
|
static |
A tag name, as the argument to sizeof() .
|
static |
(not in use)
|
static |
(not in use)
|
static |
(not in use)
|
static |
(not in use)
|
static |
A tag name, in the first operand of a typedef statement.
|
static |
[C++ only] The name of a type parameter for a template, as the type of a data member in an aggregate structure.
|
static |
[C++ only] The name of a type parameter for a template, as the target type of a cast operation.
|
static |
[C++ only] The name of a type parameter for a template, as the parameter type in a catch expression.
|
static |
[C++ only] The name of a type parameter for a template, as a function parameter qualified as const .
|
static |
[C++ only] The name of a type parameter for a template, as the type of a base class constructor in an initialization list.
|
static |
The name of a type parameter for a template, when defined (in the template definition/declaration).
|
static |
(not in use)
|
static |
[C++ only] The name of a type parameter for a template, as the type of a formal parameter in a function definition or declaration.
|
static |
[C++ only] The name of a type parameter for a template, declared as a friend .
|
static |
[C++ only] The name of a type parameter for a template, as the type of a global variable.
|
static |
[C++ only] The name of a type parameter for a template, as the type of a local variable.
|
static |
[C++ only] The name of a type parameter for a template, as the type of a local static variable.
|
static |
[C++ only] The name of a type parameter for a template, in the type of a new expression.
|
static |
[C++ only] The name of a type parameter for a template, otherwise.
|
static |
[C++ only] The name of a type parameter TT for a template, in the first operand of a name qualifier expression TT::x .
|
static |
[C++ only] The name of a type parameter for a template, as the return type in a function definition or declaration.
|
static |
[C++ only] The name of a type parameter for a template, as the argument to sizeof() .
|
static |
[C++ only] The name of a type parameter for a template, as the superclass in a subclass declaration.
|
static |
[C++ only] [C++ only] The name of a type parameter for a template, as a type argument for template instantiation.
|
static |
[C++ only] The name of a type parameter for a template, as the type of a template value parameter.
|
static |
[C++ only] The name of a type parameter for a template, as the parameter type in a throw expression.
|
static |
[C++ only] The name of a type parameter for a template, in the first operand of a typedef statement.
|
static |
The name of a value parameter for a template, when defined (in the template definition/declaration).
|
static |
[C++ only] The name of a value parameter for a template, when invoked (for function pointers).
|
static |
[C++ only] The name of a value parameter for a template, when one of its methods is invoked (for aggregates).
|
static |
[C++ only] The name of a value parameter for a template, otherwise.
|
static |
[C++ only] The name of a value parameter for a template, when its value is read.
|
static |
[C++ only] The name of a value parameter for a template, as the argument to sizeof() .
|
static |
[C++ only] The name of a value parameter Tv for a template, as the operand of an addressing expression &Tv .
|
static |
[C++ only] The name of a value parameter for a template, as a value argument for template instantiation.
|
static |
[C++ only] The name of a value parameter for a template, when it is written to.
|
static |
[C++ only] The name of a value parameter for a template, when it is dereferenced and its target written to (for pointers).
|
static |
A type name, as the type of a member of an aggregate.
|
static |
A type name, as the target type of a cast operation.
|
static |
[C++ only] A type name, as the parameter type in a catch expression.
|
static |
[C++ only] A type name, as the type of a variable declared as const .
|
static |
[C++ only] A type name, as the type of a base class constructor in an initialization list.
|
static |
[C++ only] A type name, when declared.
|
static |
Type name, when defined.
|
static |
A type name, as the type of a file static variable.
|
static |
A type name, as the type of a formal parameter in a function definition or declaration.
|
static |
[C++ only] A type name declared as a friend .
|
static |
A type name, as the type of a global variable.
|
static |
A type name, as the type of a local variable.
|
static |
A type name, as the type of a local static variable.
|
static |
[C++ only] A type name, in the type of a new expression.
|
static |
A type name, otherwise.
|
static |
[C++ only] A type name T , in the first operand of a name qualifier expression T::x .
|
static |
A type name, as the return type in a function definition or declaration.
|
static |
A type name, as the argument to sizeof() .
|
static |
[C++ only] A type name, as the superclass in a subclass declaration.
|
static |
A type name that is defined to be the same as the tag in the struct enum or union .
|
static |
[C++ only] A type name, as a type argument for template instantiation.
|
static |
[C++ only] A type name, as the type of a template value parameter.
|
static |
[C++ only] A type name, as the parameter type in a throw expression.
|
static |
A type name, in the first operand of a typedef statement.
|
static |
A global variable name, when declared.
|
static |
An global variable name, when defined.
|
static |
A global variable name v , when invoked (for function pointer variables).
|
static |
[C++ only] A global variable name v , when one of its methods is invoked (for aggregate variables).
|
static |
A global variable name, otherwise.
|
static |
A global variable name, when its value is read.
|
static |
A global variable name, as the argument to sizeof() .
|
static |
A global variable name v , as the operand of an addressing expression &v .
|
static |
[C++ only] A global variable name v , as an argument for template instantiation.
|
static |
A global variable name, when written to.
|
static |
A global variable name, when it is dereferenced and its target written to (for pointer variables).
|
static |
A local variable name, when declared.
|
static |
A local variable name, when defined.
|
static |
A local variable name v , when invoked (for function pointer variables).
|
static |
[C++ only] A local variable name v , when one of its methods is invoked (for aggregate variables).
|
static |
A local variable name, otherwise.
|
static |
A local variable name, when its value is read.
|
static |
A local variable name, as the argument to sizeof() .
|
static |
(not in use)
|
static |
A local static variable name, when defined.
|
static |
A local static variable name v , when invoked (for function pointer variables).
|
static |
[C++ only] A local static variable name v , when one of its methods is invoked (for aggregate variables).
|
static |
A local static variable name, otherwise.
|
static |
A local static variable name, when its value is read.
|
static |
A local static variable name, as the argument to sizeof() .
|
static |
A local static variable name v , as the operand of an addressing expression &v .
|
static |
[C++ only] A local static variable name v , as an argument for template instantiation.
|
static |
A local static variable name, when written to.
|
static |
A local static variable name, when it is dereferenced and its target written to (for pointer variables).
|
static |
A local variable name v , as the operand of an addressing expression &v .
|
static |
[C++ only] A variable name v , as an argument for template instantiation.
|
static |
A local variable name, when written to.
|
static |
A local variable name, when it is dereferenced and its target written to (for pointer variables).
|
static |
A parameter name, when declared.
|
static |
A parameter name, when defined.
|
static |
A parameter name v , when invoked (for function pointer parameters).
|
static |
[C++ only] A parameter name v , when one of its methods is invoked (for aggregate variables).
|
static |
A parameter name, otherwise.
|
static |
A parameter name, when its value is read.
|
static |
A parameter name, as the argument to sizeof() .
|
static |
A parameter name v , as the operand of an addressing expression &v .
|
static |
(not in use)
|
static |
A parameter name, when written to.
|
static |
A parameter name, when it is dereferenced and its target written to (for pointer variables).
|
static |
A static variable name, when declared.
|
static |
A file static variable name, when defined.
|
static |
A static variable name v , when invoked (for function pointer variables).
|
static |
[C++ only] A static variable name v , when one of its methods is invoked (for aggregate variables).
|
static |
A static variable name, otherwise.
|
static |
A static variable name, when its value is read.
|
static |
A variable name, as the argument to sizeof() .
|
static |
A static variable name v , as the operand of an addressing expression &v .
|
static |
[C++ only] A static variable name v , as an argument for template instantiation.
|
static |
A static variable name, when written to.
|
static |
A static variable name, when it is dereferenced and its target written to (for pointer variables).