Julia, Lars,
Also specifying multiple qualifiers does not seem work.
E.g. "const volatile void *p" or even "const const void *p"
Are these meaningful?
The first one should have practical applications. The second one not really,
I guess it is legal C to keep the grammar simple.
A memory location whose contents are controlled by a real time clock
is one use for:
const volatile void *time_now;
const const void *p;
used to be a constraint violation, but in C11 this was removed to
make things less tiresome for automatic code generators.
--
Derek M. Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd blog:shape-of-code.coding-guidelines.com
Software analysis http://www.knosof.co.uk
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)