* [Cocci] Can coccinelle differentiate between a string literal and a string variable?
@ 2019-04-16 21:37 Timur Tabi
2019-04-16 21:48 ` Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2019-04-16 21:37 UTC (permalink / raw)
To: cocci
I have a macro that requires one of the parameters to be a string
literal, rather than a variable (e.g. char x[] or char *x).
Can a coccinelle rule differentiate between the two?
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-16 21:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-16 21:37 [Cocci] Can coccinelle differentiate between a string literal and a string variable? Timur Tabi
2019-04-16 21:48 ` Julia Lawall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).