> I think a lot of such C++ snippets would be parsed by Coccinelle if
> '&' and 'new' would be treated as having similar constraints as '*'
> and an unary operator respectively.

The proper patching of C++ source code provides some technical challenges
because of the context-dependent processing that will be required if you would
like to achieve complete software correctness.

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to