File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ IREP_ID_ONE(member_initializers)
400
400
IREP_ID_ONE(member_initializer)
401
401
IREP_ID_ONE(method_qualifier)
402
402
IREP_ID_ONE(methods)
403
+ IREP_ID_ONE(static_members)
403
404
IREP_ID_ONE(constructor)
404
405
IREP_ID_ONE(destructor)
405
406
IREP_ID_ONE(bases)
Original file line number Diff line number Diff line change @@ -330,6 +330,19 @@ class class_typet:public struct_typet
330
330
return (methodst &)(add (ID_methods).get_sub ());
331
331
}
332
332
333
+ using static_membert = componentt;
334
+ using static_memberst = componentst;
335
+
336
+ const static_memberst &static_members () const
337
+ {
338
+ return (const static_memberst &)(find (ID_static_members).get_sub ());
339
+ }
340
+
341
+ static_memberst &static_members ()
342
+ {
343
+ return (static_memberst &)(add (ID_static_members).get_sub ());
344
+ }
345
+
333
346
bool is_abstract () const
334
347
{
335
348
return get_bool (ID_abstract);
You can’t perform that action at this time.
0 commit comments