>> Do you distinguish between the storage class specifier >> and other uses of such a key word? >> https://en.cppreference.com/w/cpp/language/auto > > Sorry. I know nothing about C++.
I guess that you know something also for this programming language according to the program option “--c++”. https://github.com/coccinelle/coccinelle/blob/0cece3639048dc7e81c4b2cc8f2a6f7a57fd546b/docs/spatch.1.in#L434 https://github.com/coccinelle/coccinelle/issues/1 > Auto seems to be supported I am looking for further evolution around this software area. > - I see it in both the C parser and the SmPL parser. How would we like to handle corresponding development challenges? @display@ expression X; identifier I; @@ *auto I = X(...); elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci show_variable_definition_with_auto1.cocci init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h minus: parse error: File "show_variable_definition_with_auto1.cocci", line 5, column 6, charpos = 47 around = 'I', whole content = *auto I = X(...); Can such a source code search approach make sense also according to the rules of the C programming language? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
