Skip to content

Commit 25672b2

Browse files
author
John Nonweiler
committed
Move irep_ids.def from src/util to src/util/ids
1 parent 7efd376 commit 25672b2

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
# These files change frequently and changes are low-risk
6363

64-
/src/util/irep_ids.def @diffblue/cbmc-developers
64+
/src/util/ids/irep_ids.def @diffblue/cbmc-developers
6565

6666
/unit/ @diffblue/cbmc-developers
6767
/regression/ @diffblue/cbmc-developers

doc/architectural/howto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ numbered, starting from 0. They can be accessed through the `op0()`,
224224
`op1()` and `op2()` methods in the `exprt` class.
225225

226226
Every node in the pretty representation has an identifier, accessed
227-
through the `id()` function. The file `util/irep_ids.def` lists the
227+
through the `id()` function. The file `util/ids/irep_ids.def` lists the
228228
possible values of these identifiers; have a quick scan through that
229229
file. In the pretty representation above, the following facts are true
230230
of that particular node:

scripts/string_table_check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ids_file=$(mktemp)
1212

1313
trap cleanup EXIT
1414

15-
gcc -E -P -x c src/util/irep_ids.def \
15+
gcc -E -P -x c src/util/ids/irep_ids.def \
1616
-D'IREP_ID_ONE(x)=ID_ ## x' -D'IREP_ID_TWO(x,y)=ID_ ## x' > $ids_file
1717

1818
for w in $whitelist
File renamed without changes.

src/util/irep_ids.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const char *irep_ids_table[]=
2020
#define IREP_ID_ONE(id) #id,
2121
#define IREP_ID_TWO(id, str) #str,
2222

23-
#include "irep_ids.def"
23+
#include "ids/irep_ids.def"
2424

2525
nullptr,
2626
};
@@ -32,7 +32,7 @@ enum class idt:unsigned
3232
#define IREP_ID_ONE(the_id) id_##the_id,
3333
#define IREP_ID_TWO(the_id, str) id_##the_id,
3434

35-
#include "irep_ids.def" // NOLINT(build/include)
35+
#include "ids/irep_ids.def" // NOLINT(build/include)
3636
};
3737

3838
#define IREP_ID_ONE(the_id) \
@@ -49,7 +49,7 @@ enum class idt:unsigned
4949

5050
#endif
5151

52-
#include "irep_ids.def" // NOLINT(build/include)
52+
#include "ids/irep_ids.def" // NOLINT(build/include)
5353

5454
string_containert::string_containert()
5555
{

src/util/irep_ids.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ Author: Reuben Thomas, [email protected]
4545

4646
#endif
4747

48-
#include "irep_ids.def"
48+
#include "ids/irep_ids.def"
4949

5050
#endif

0 commit comments

Comments
 (0)