From mboxrd@z Thu Jan 1 00:00:00 1970 From: elfring@users.sourceforge.net (SF Markus Elfring) Date: Tue, 23 May 2017 12:52:22 +0200 Subject: [Cocci] Easier search for assignment targets with SmPL In-Reply-To: References: <01dd4e26-0864-df8e-4b43-e054c0e61400@users.sourceforge.net> Message-ID: <88de4a84-a116-7475-a5d3-a6c76992e126@users.sourceforge.net> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr >> Can it become safer and more convenient to handle assignments here? > > I have no idea what you are asking for. I wonder about such a kind of feedback. > In any case, an expression metavariable already matches a variable. This information can be appropriate in some source code situations. Do you care for any more ?special use cases?? > I don't know what a designated initializer is. I find this aspect strange when it was already discussed several times. http://en.cppreference.com/w/c/language/struct_initialization How would you prefer to handle various software development challenges around specifications for variable definitions? Regards, Markus