aboutsummaryrefslogtreecommitdiff
path: root/gcc/genpreds.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r--gcc/genpreds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genpreds.c b/gcc/genpreds.c
index 19b7dcb..293930c 100644
--- a/gcc/genpreds.c
+++ b/gcc/genpreds.c
@@ -666,8 +666,9 @@ write_one_predicate_function (struct pred_data *p)
verify that there are no duplicate names. */
/* All data from one constraint definition. */
-struct constraint_data
+class constraint_data
{
+public:
struct constraint_data *next_this_letter;
struct constraint_data *next_textual;
const char *name;