Merge branch 'sval' into merge
commit5432b1ca634f720c6386e6c6f6e95a175b27a0a1
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Nov 2012 12:16:34 +0000 (15 15:16 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Nov 2012 12:16:34 +0000 (15 15:16 +0300)
tree0d7160efcdc8b29a5f41bef1b857e4a8a71a519c
parentbba1c0b6c0fd41534bb9709f67f45f52aa04eebc
parent0eebe98ec68d9676c3f615eab656500155f77d91
Merge branch 'sval' into merge

Before smatch used "long long" to represent values.  This fails
because it isn't possible to represent ULLONG_MAX.  The sval
work solves that by always connecting the value to the type.

Instead of "long long" we now use an sval_t which is defined like
this:

typedef struct {
struct symbol *type;
union {
long long value;
unsigned long long uvalue;
};
} sval_t;

The sval_t type has been pushed everywhere now so we always have
easy access to a struct symbol *type.

That bad news is that a lot of error messages will change formats
slightly.  In particular check_signed.c has been re-written.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Makefile
check_precedence.c