aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/eval/unqual-cast.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-18casts should drop qualifiersLuc Van Oostenryck1-0/+14
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>