aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/function-attribute-inner.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-17 21:52:42 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-18 01:19:06 +0100
commit626c474204e8262467a316099b6074cab964237c (patch)
treed9777c8a74671da0a2cc78bc6005f96188504603 /validation/function-attribute-inner.c
parentbbb3d7fcbe6d2bba07ee4664acbbab5e6e8c8b2a (diff)
downloadsparse-dev-626c474204e8262467a316099b6074cab964237c.tar.gz
casts should drop qualifiers
Casts should drop qualifiers but Sparse doesn't do this yet. The fix seems pretty simple: after having evaluated the type of the cast, if this type is a SYM_NODE and contains qualifiers, make a copy of the type with the qualifiers removed and use this copy as the type. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/function-attribute-inner.c')
0 files changed, 0 insertions, 0 deletions