diff options
| author | Al Viro <viro@ftp.linux.org.uk> | 2009-03-11 07:08:25 +0000 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2009-07-18 05:30:09 +0000 |
| commit | 3829c4d8b097776e6b3472290a9fae08a705ab7a (patch) | |
| tree | b2218b8e8294de1414820fb62c117274f609f233 /graph.c | |
| parent | 8de386390c2028ccaea4ac7e39aa915b6ec6bf94 (diff) | |
| download | sparse-dev-3829c4d8b097776e6b3472290a9fae08a705ab7a.tar.gz | |
Don't mix storage class bits with ctype->modifiers while parsing type
Keep storage class (and "is it inline") explicitly in decl_state;
translate to modifiers only when we are done with parsing. That
avoids the need to separate MOD_STORAGE bits while constructing
the type (e.g. in alloc_indirect_symbol(), etc.). It also allows
to get rid of MOD_FORCE for good - instead of passing it to typename()
we pass an int * and let typename() tell whether we'd got a force-cast.
Indication of force-cast never makes it into the modifier bits at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Christopher Li <chrisl@hera.kernel.org>
Diffstat (limited to 'graph.c')
0 files changed, 0 insertions, 0 deletions
