diff options
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index 63c095c..d0fbaa8 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -873,6 +873,19 @@ extern void verify_sequence_points (tree); extern tree fold_offsetof (tree); +/* Places where an lvalue, or modifiable lvalue, may be required. + Used to select diagnostic messages in lvalue_or_else and + readonly_error. */ +enum lvalue_use { + lv_assign, + lv_increment, + lv_decrement, + lv_addressof, + lv_asm +}; + +extern int lvalue_or_else (tree, enum lvalue_use); + /* In c-gimplify.c */ extern void c_genericize (tree); extern int c_gimplify_expr (tree *, tree *, tree *); |