diff options
author | 2009-09-29 14:58:48 -0700 | |
---|---|---|
committer | 2010-03-28 17:51:36 -0700 | |
commit | ccb8433d5c5c51d34f0dedc01a17eb68c74beeb5 (patch) | |
tree | 741532de757e629ea8259a6fc51462006e6fbdec | |
parent | Make MOD_NORETURN fits into 32 bit (diff) | |
download | sparse-ccb8433d5c5c51d34f0dedc01a17eb68c74beeb5.tar.gz sparse-ccb8433d5c5c51d34f0dedc01a17eb68c74beeb5.tar.bz2 sparse-ccb8433d5c5c51d34f0dedc01a17eb68c74beeb5.zip |
Move noreturn attribute out of ignore attr area
Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r-- | parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -454,6 +454,8 @@ static struct init_keyword { { "mode", NS_KEYWORD, .op = &mode_op }, { "context", NS_KEYWORD, .op = &context_op }, { "__transparent_union__", NS_KEYWORD, .op = &transparent_union_op }, + { "noreturn", NS_KEYWORD, MOD_NORETURN, .op = &attr_mod_op }, + { "__noreturn__", NS_KEYWORD, MOD_NORETURN, .op = &attr_mod_op }, { "__mode__", NS_KEYWORD, .op = &mode_op }, { "QI", NS_KEYWORD, MOD_CHAR, .op = &mode_QI_op }, @@ -489,8 +491,6 @@ static struct init_keyword { { "const", NS_KEYWORD, .op = &ignore_attr_op }, { "__const", NS_KEYWORD, .op = &ignore_attr_op }, { "__const__", NS_KEYWORD, .op = &ignore_attr_op }, - { "noreturn", NS_KEYWORD, MOD_NORETURN, .op = &attr_mod_op }, - { "__noreturn__", NS_KEYWORD, MOD_NORETURN, .op = &attr_mod_op }, { "no_instrument_function", NS_KEYWORD, .op = &ignore_attr_op }, { "__no_instrument_function__", NS_KEYWORD, .op = &ignore_attr_op }, { "sentinel", NS_KEYWORD, .op = &ignore_attr_op }, |