From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Thu, 19 Feb 2015 10:08:48 +0100 Subject: [Cocci] Finding several type qualifiers with SmPL? In-Reply-To: References: <4f675e42e0b446d8829a42c5cc9a8dfd@BL2FFO11FD036.protection.gbl> <88f4915b894e471aa3e551a6287e5d17@BY2FFO11FD031.protection.gbl> Message-ID: <54E5A820.1030001@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > 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