CodeSonar C++ API
[For improved navigation, enable JavaScript.]
cs_xr_role_defs.hpp
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) 2023, an unpublished work by CodeSecure, Inc.
4  * ALL RIGHTS RESERVED
5  *
6  * Copyright (c) 2013-2023, an unpublished work by GrammaTech, Inc.
7  * ALL RIGHTS RESERVED
8  *
9  * This software is furnished under a license and may be used and
10  * copied only in accordance with the terms of such license and the
11  * inclusion of the above copyright notice. This software or any
12  * other copies thereof may not be provided or otherwise made
13  * available to any other person. Title to and ownership of the
14  * software is retained by CodeSecure, Inc.
15  */
18 #ifdef CS_CPP_IMPL
19 const xr_role xr_role::AGGREGATE_MEMBER = xr_role(csxrr_aggregate_member);
20 const xr_role xr_role::CALL = xr_role(csxrr_call);
21 const xr_role xr_role::CAST = xr_role(csxrr_cast);
22 const xr_role xr_role::CATCH_PARAM = xr_role(csxrr_catch_param);
23 const xr_role xr_role::DECLARATION = xr_role(csxrr_declaration);
24 const xr_role xr_role::DEFINITION = xr_role(csxrr_definition);
25 const xr_role xr_role::EXT = xr_role(csxrr_ext);
26 const xr_role xr_role::FILE_STATIC = xr_role(csxrr_file_static);
27 const xr_role xr_role::FORMAL = xr_role(csxrr_formal);
28 const xr_role xr_role::FRIEND = xr_role(csxrr_friend);
29 const xr_role xr_role::GLOBAL = xr_role(csxrr_global);
30 const xr_role xr_role::GOTO = xr_role(csxrr_goto);
31 const xr_role xr_role::CONSTANT = xr_role(csxrr_constant);
32 const xr_role xr_role::INCLUDE = xr_role(csxrr_include);
33 const xr_role xr_role::INVOCATION = xr_role(csxrr_invocation);
34 const xr_role xr_role::LOCAL = xr_role(csxrr_local);
35 const xr_role xr_role::LOCAL_STATIC = xr_role(csxrr_local_static);
36 const xr_role xr_role::METHOD_INVOCATION = xr_role(csxrr_method_invocation);
37 const xr_role xr_role::CONSTRUCTOR_INITIALIZATION = xr_role(csxrr_constructor_initialization);
38 const xr_role xr_role::NEW = xr_role(csxrr_new);
39 const xr_role xr_role::OCCURRENCE = xr_role(csxrr_occurrence);
40 const xr_role xr_role::OTHER = xr_role(csxrr_other);
41 const xr_role xr_role::SIZEOF = xr_role(csxrr_sizeof);
42 const xr_role xr_role::READ = xr_role(csxrr_read);
43 const xr_role xr_role::REDEF = xr_role(csxrr_redef);
44 const xr_role xr_role::RETURN_TYPE = xr_role(csxrr_return_type);
45 const xr_role xr_role::QUALIFIER = xr_role(csxrr_qualifier);
46 const xr_role xr_role::SUBCLASS = xr_role(csxrr_subclass);
47 const xr_role xr_role::TAG = xr_role(csxrr_tag);
48 const xr_role xr_role::TAKE_ADDRESS = xr_role(csxrr_take_address);
49 const xr_role xr_role::TEMPL_ARG = xr_role(csxrr_templ_arg);
50 const xr_role xr_role::TEMPLATE_PARAMETER = xr_role(csxrr_template_parameter);
51 const xr_role xr_role::THROW_EXCEPTION_SPEC = xr_role(csxrr_throw_exception_spec);
52 const xr_role xr_role::TYPEDEF = xr_role(csxrr_typedef);
53 const xr_role xr_role::UNDEF = xr_role(csxrr_undef);
54 const xr_role xr_role::USING = xr_role(csxrr_using);
55 const xr_role xr_role::WRITE = xr_role(csxrr_write);
56 const xr_role xr_role::WRITE_THROUGH = xr_role(csxrr_write_through);
57 #endif
static const xr_role TAKE_ADDRESS
...as the operand of an addressing expression &A.
Definition: cs_xr_role_decls.hpp:137
static const xr_role AGGREGATE_MEMBER
...as the type of a data member in an aggregate structure.
Definition: cs_xr_role_decls.hpp:21
static const xr_role DEFINITION
...when defined.
Definition: cs_xr_role_decls.hpp:41
static const xr_role QUALIFIER
...[C++ only] as the first operand in a name qualifier expression A::B.
Definition: cs_xr_role_decls.hpp:125
static const xr_role NEW
...[C++ only] in the type of a new expression.
Definition: cs_xr_role_decls.hpp:97
static const xr_role SIZEOF
...as the argument to sizeof() .
Definition: cs_xr_role_decls.hpp:109
static const xr_role RETURN_TYPE
...as the return type in a function definition or declaration.
Definition: cs_xr_role_decls.hpp:121
static const xr_role FILE_STATIC
...as the type of a file static variable.
Definition: cs_xr_role_decls.hpp:49
static const xr_role WRITE_THROUGH
...when dereferenced and its target written to.
Definition: cs_xr_role_decls.hpp:169
static const xr_kind TAG
tag: a type tag.
Definition: cs_xr_kind_decls.hpp:97
static const xr_role TEMPLATE_PARAMETER
...[C++ only] as the type of a template value parameter.
Definition: cs_xr_role_decls.hpp:145
static const xr_role OCCURRENCE
Any occurrence of an enum symbol other than its definition.
Definition: cs_xr_role_decls.hpp:101
static const xr_role TEMPL_ARG
...[C++ only] as an argument for template instantiation.
Definition: cs_xr_role_decls.hpp:141
static const xr_role FRIEND
...[C++ only] when declared as a friend.
Definition: cs_xr_role_decls.hpp:57
static const xr_role REDEF
when #define'd twice or more with no intervening #undef .
Definition: cs_xr_role_decls.hpp:117
static const xr_role CONSTANT
...[C++ only] as the type of a parameter or variable declared as const .
Definition: cs_xr_role_decls.hpp:69
static const xr_role TYPEDEF
...in the first operand of a typedef statement.
Definition: cs_xr_role_decls.hpp:153
static const point_kind DECLARATION
[CodeSurfer only] Kind declaration.
Definition: cs_point_kind_decls.hpp:136
static const xr_role CALL
...when the function is called.
Definition: cs_xr_role_decls.hpp:25
static const xr_role UNDEF
...when undefined with #undef .
Definition: cs_xr_role_decls.hpp:157
static const xr_role INVOCATION
...as the subject of a macro invocation or function pointer invocation.
Definition: cs_xr_role_decls.hpp:77
static const xr_role THROW_EXCEPTION_SPEC
...[C++ only] as the parameter type in a throw() expression.
Definition: cs_xr_role_decls.hpp:149
static const xr_role LOCAL
...as the type of a local variable.
Definition: cs_xr_role_decls.hpp:81
static const xr_role OTHER
For certain token kinds, indicates an occurrence for which no other applicable role was appropriate...
Definition: cs_xr_role_decls.hpp:105
static const syntax_kind INCLUDE
Preprocessor include directive.
Definition: cs_syntax_kind_decls.hpp:33
static const xr_role CATCH_PARAM
...[C++ only] as the parameter type in a catch() expression.
Definition: cs_xr_role_decls.hpp:33
static const xr_role LOCAL_STATIC
...as the type of a local static variable.
Definition: cs_xr_role_decls.hpp:85
static const xr_role CONSTRUCTOR_INITIALIZATION
...[C++ only] in an initialization list.
Definition: cs_xr_role_decls.hpp:93
static const xr_role GLOBAL
...as the type of a global variable.
Definition: cs_xr_role_decls.hpp:61
static const xr_role SUBCLASS
...[C++ only] as the superclass in a subclass declaration.
Definition: cs_xr_role_decls.hpp:129
static const xr_role METHOD_INVOCATION
...[C++ only] when one of its methods is invoked (for aggregates).
Definition: cs_xr_role_decls.hpp:89
static const xr_role WRITE
...when written to.
Definition: cs_xr_role_decls.hpp:165
static const xr_role USING
...[C++ only] as the operand in a using namespace expression.
Definition: cs_xr_role_decls.hpp:161
static const xr_role EXT
[C++ only] The role a namespace name takes at any subsequent extension of the namespace.
Definition: cs_xr_role_decls.hpp:45
static const point_syntax_kind GOTO
A goto statement.
Definition: cs_point_syntax_kind_decls.hpp:61
static const xr_role READ
...when its value is read.
Definition: cs_xr_role_decls.hpp:113
static const xr_role CAST
...as the target type of a cast operation.
Definition: cs_xr_role_decls.hpp:29
static const xr_role FORMAL
...as the type of a formal parameter in a function definition or declaration.
Definition: cs_xr_role_decls.hpp:53