summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2022-04-01 23:16:31 +0000
committerrillig <rillig@NetBSD.org>2022-04-01 23:16:31 +0000
commit862c3a89c26418bf65eefae39a8b862a3191dfd8 (patch)
treef0f1aa35c3e63e888226f205679ec286f29d5632 /sys/dev
parent75f78a6eacf0f0ee39c5e12cd00473a1a412f397 (diff)
lint: add type details to message about 'sizeof(function)'
The code in add_function is severely broken, it mixes up the return type of the function with the argument types. For now, at least show the guessed type in the diagnostic, to allow human readers quickly spot the bug. Extend the test cases in decl_direct_abstract.c to show that the behavior differs unreasonably if the first parameter of the function is equal to its return type.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions