diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-04-05 15:27:32 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-11-08 21:37:30 +0100 |
| commit | 095dc58e5cdaf04330c2f75f74aab415d18d562d (patch) | |
| tree | 94c2b6d3170144b5fd1cae509aa19cd732e6df83 /evaluate.c | |
| parent | f29a889bdf5ef02be060832389fbedf2df6c62de (diff) | |
| download | sparse-dev-095dc58e5cdaf04330c2f75f74aab415d18d562d.tar.gz | |
define MOD_QUALIFIER for (MOD_CONST | MOD_VOLATILE)
This is slightly shorter (and thus may avoid long lines) and
facilitate the introduction of MOD_RETRICT in a later patch.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'evaluate.c')
| -rw-r--r-- | evaluate.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -627,7 +627,7 @@ static struct symbol *evaluate_ptr_add(struct expression *expr, struct symbol *i static void examine_fn_arguments(struct symbol *fn); -#define MOD_IGN (MOD_VOLATILE | MOD_CONST | MOD_PURE) +#define MOD_IGN (MOD_QUALIFIER | MOD_PURE) const char *type_difference(struct ctype *c1, struct ctype *c2, unsigned long mod1, unsigned long mod2) |
