On Tue, 4 Feb 2020, Markus Elfring wrote: > >> > >> https://github.com/wwmm/pulseeffects/blob/acb5161a6ab8d3b0c395ed2809d3318ccf4931bc/src/source_output_effects.cpp#L6 > > > > I guess it would be fine if you put > > > > typedef auto; > > > > among the metavariables? > > I would like to show another software test result. > > @display@ > expression E; > identifier I; > typedef auto; > @@ > *auto I = E(...); > > > elfring@Sonne:~/Projekte/Coccinelle/Probe> spatch --parse-cocci > show_variable_definition_with_auto3.cocci > init_defs_builtins: /usr/local/bin/../lib/coccinelle/standard.h > meta: parse error: > File "show_variable_definition_with_auto3.cocci", line 4, column 8, charpos > = 46 > around = 'auto', > whole content = typedef auto; I understood already that it was not meant as a type. julia _______________________________________________ Cocci mailing list Cocci@systeme.lip6.fr https://systeme.lip6.fr/mailman/listinfo/cocci
- Re: [Cocci] Replacing a std::string ch... Julia Lawall
- Re: [Cocci] Replacing a std::stri... Markus Elfring
- Re: [Cocci] Replacing usages of “... Markus Elfring
- Re: [Cocci] Replacing usages ... Julia Lawall
- Re: [Cocci] Replacing usages ... Markus Elfring
- Re: [Cocci] Replacing usages ... Julia Lawall
- Re: [Cocci] Replacing usages ... Markus Elfring
- Re: [Cocci] Replacing a std::string check by s... Julia Lawall
- Re: [Cocci] Replacing a std::string check ... Markus Elfring
- Re: [Cocci] Searching for usage of “auto” with SmP... Markus Elfring
- Re: [Cocci] Searching for usage of “auto” with... Julia Lawall
- Re: [Cocci] Searching for usage of “auto” ... Markus Elfring
- Re: [Cocci] Replacing a std::string check by strcmp() w... wellington wallace
- Re: [Cocci] Replacing a std::string check by strcm... Markus Elfring
- Re: [Cocci] Replacing a std::string check by s... Julia Lawall
- Re: [Cocci] Replacing a std::string check ... Markus Elfring
- Re: [Cocci] Replacing a std::string ch... Julia Lawall
- Re: [Cocci] Replacing a std::stri... Markus Elfring
- Re: [Cocci] Usage concerns ar... Markus Elfring