Lines Matching +full:- +full:t
2 // SPDX-License-Identifier: Apache-2.0
6 // Drivers cast the device config_info pointer to a driver-specific
7 // structure. The object is const-qualified; make sure the cast
8 // doesn't inadvertently remove that qualifier.
13 // appears as a tag in non-device aggregate types.
15 // Options: --include-headers
20 // bare: (struct T*)E
25 identifier T;
30 struct T*)E->config_info
32 // bare const: (struct T* const)E
37 identifier T;
42 struct T * const)E->config_info
44 // asg: struct T *D = (const struct T*)
49 identifier T;
54 struct T * D = (const struct T*)E->config_info;
56 // asg to const local: struct T * const D = (const struct T*)
61 identifier T;
66 struct T * const D = (const struct T*)E->config_info;
68 // asg via macro: struct T * D = DEV_CFG()
73 identifier T;
78 struct T * D = DEV_CFG(E);
80 // asg via macro to const local: struct T * const D = DEV_CFG()
85 identifier T;
90 struct T * const D = DEV_CFG(E);
92 // asg via macro: struct T * D; ... ; D = (const struct T*)CI;
97 identifier T;
102 struct T * D;
104 D = (const struct T*)E->config_info;
106 // delayed asg via macro: struct T * D; ... ; D = DEV_CFG();
111 identifier T;
116 struct T * D;
124 identifier T;
128 (struct T*)E->config_info@p
133 t << r_cci_report.T;
136 msg = "WARNING: cast of config_info to struct {} requires 'const'".format(t)