> I think it expects a type as well. I don't know if that is a reasonable > assumption in C or in C++.
Can a source code transformation approach like the following make sense? @replacement@ @@ -auto +my_type elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci replace_auto1.cocci init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h minus: parse error: File "replace_auto1.cocci", line 5, column 0, charpos = 32 around = '', whole content = Will the software support for adjustments around the explicit specification of automatic storage duration become better anyhow? https://en.cppreference.com/w/c/language/storage_duration Regards, Markus _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci