File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 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[]=
2727
2828#ifdef USE_DSTRING
2929
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+
3038#define IREP_ID_ONE (the_id ) \
3139 const dstringt ID_##the_id=dstringt::make_from_table_index( \
3240 static_cast <unsigned >(idt::id_##the_id));
Original file line number Diff line number Diff line change 3333// / into a const extern irep_idt with the variable name `ID_param` and the
3434// / string value `"contents"`.
3535
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-
4436#ifdef USE_DSTRING
4537
4638#define IREP_ID_ONE (the_id ) extern const dstringt ID_##the_id;
@@ -53,6 +45,6 @@ enum class idt:unsigned
5345
5446#endif
5547
56- #include " irep_ids.def" // NOLINT(build/include)
48+ #include " irep_ids.def"
5749
5850#endif
You can’t perform that action at this time.
0 commit comments