diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2009-03-09 07:12:18 +0000 |
---|---|---|
committer | Christopher Li <sparse@chrisli.org> | 2009-07-17 23:06:23 +0000 |
commit | 319206abe1f2b2981f0912336a2859039bea0e2c (patch) | |
tree | 5e056496be0660cd3ac84a9833ef02e9ec1e77df /ident-list.h | |
parent | 9abb0964fc1963b6ab3d7580c43078648519368f (diff) | |
download | sparse-319206abe1f2b2981f0912336a2859039bea0e2c.tar.gz |
Rewrite and fix specifiers handling
Make sure that we accept the right set; kill ad-hackery around checks
for banned combinations. Instead of that we keep a bitmap describing
what we'd already seen (with several extra bits for 'long long' and
for keeping track of can't-combine-with-anything stuff), check and
update it using the values in ..._op and keep track of size modifiers
more or less explicitly.
Testcases added. A _lot_ of that used to be done wrong.
Note that __attribute__((mode(...))) got more broken by this one;
the next several changesets will take care of that.
One more thing: we are -><- close to getting rid of MOD_SPECIFIER bits
for good.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'ident-list.h')
-rw-r--r-- | ident-list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ident-list.h b/ident-list.h index 61048267..e22084e9 100644 --- a/ident-list.h +++ b/ident-list.h @@ -23,6 +23,7 @@ IDENT(union); IDENT(enum); IDENT(__attribute); IDENT(__attribute__); IDENT(volatile); IDENT(__volatile); IDENT(__volatile__); +IDENT(double); /* Extended gcc identifiers */ IDENT(asm); IDENT_RESERVED(__asm); IDENT_RESERVED(__asm__); |