DEV: coccinelle: Add xalloc_cast.cocci
authorTim Duesterhus <tim@bastelstu.be>
Wed, 15 Sep 2021 11:58:47 +0000 (13:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Sep 2021 15:22:05 +0000 (17:22 +0200)
commitecf55968a100dfb9eed8ba86f2dd67abb42fb943
treec006cc23fd44a92e7ec479ba3e5e6bf35d36784e
parentec4a8754da59e00b6313dbc10a081badfb37bf33
DEV: coccinelle: Add xalloc_cast.cocci

This remove's C++ style casts from the return value of malloc/calloc.

see 403fd722ace1d98d3cfe17bbee1382bf58040466
dev/coccinelle/xalloc_cast.cocci [new file with mode: 0644]