> So there is no way to match one of these double const things.

Is the situation different for the semantic patch language
if multiple qualifiers would be syntactically required?

Another source code example:
static const struct data const* my_pointer;


> Telling the developer to remove the second const is probably
> the reasonable solution.

Would you like to support additional type qualifiers there?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to