File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,14 @@ const char *irep_ids_table[]=
27
27
28
28
#ifdef USE_DSTRING
29
29
30
+ enum class idt :unsigned
31
+ {
32
+ #define IREP_ID_ONE (the_id ) id_##the_id,
33
+ #define IREP_ID_TWO (the_id, str ) id_##the_id,
34
+
35
+ #include " irep_ids.def" // NOLINT(build/include)
36
+ };
37
+
30
38
#define IREP_ID_ONE (the_id ) \
31
39
const dstringt ID_##the_id=dstringt::make_from_table_index( \
32
40
static_cast <unsigned >(idt::id_##the_id));
Original file line number Diff line number Diff line change 33
33
// / into a const extern irep_idt with the variable name `ID_param` and the
34
34
// / string value `"contents"`.
35
35
36
- enum class idt :unsigned
37
- {
38
- #define IREP_ID_ONE (the_id ) id_##the_id,
39
- #define IREP_ID_TWO (the_id, str ) id_##the_id,
40
-
41
- #include " irep_ids.def"
42
- };
43
-
44
36
#ifdef USE_DSTRING
45
37
46
38
#define IREP_ID_ONE (the_id ) extern const dstringt ID_##the_id;
@@ -53,6 +45,6 @@ enum class idt:unsigned
53
45
54
46
#endif
55
47
56
- #include " irep_ids.def" // NOLINT(build/include)
48
+ #include " irep_ids.def"
57
49
58
50
#endif
You can’t perform that action at this time.
0 commit comments