sparse, llvm: Fix symbol_type() for bitfields and enums
commit2b1d2bc9e6f84638d0076b6e94cf950327899496
authorPekka Enberg <penberg@kernel.org>
Mon, 24 Oct 2011 15:40:43 +0000 (24 18:40 +0300)
committerPekka Enberg <penberg@kernel.org>
Tue, 25 Oct 2011 08:58:25 +0000 (25 11:58 +0300)
tree16bdceef9f35ee7022cd2c74879fa538800b9bc8
parent3b0407946777b10c3655fac2a0d5189b182aa7c0
sparse, llvm: Fix symbol_type() for bitfields and enums

This patch adds SYM_BITFIELD and SYM_ENUM support to symbol_type().

Cc: Christopher Li <sparse@chrisli.org>
Cc: Jeff Garzik <jgarzik@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
sparse-llvm.c