>> @display@
>> expression X;
>> identifier I;
>> @@
>> *auto I = X(...);
…
> I think it expects a type as well.  I don't know if that is a reasonable
> assumption in C or in C++.

How do you think about to interpret such a variable definition in the way
that the omission of an other data type specification would result into
the usage of “int”?

Under which circumstances will the handling of “placeholder type specifiers”
become relevant finally?
https://en.cppreference.com/w/cpp/language/auto

Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to