All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Cocci] Function-like macro with the same name as a typedef
@ 2020-04-06  8:20 Markus Elfring
  2020-04-20 13:54 ` Markus Armbruster
  0 siblings, 1 reply; 6+ messages in thread
From: Markus Elfring @ 2020-04-06  8:20 UTC (permalink / raw)
  To: Markus Armbruster; +Cc: cocci

> * spatch seems to have trouble parsing
>
>     ARMSSE *s = ARMSSE(opaque);
>
>   where ARMSSE is a typedef, and ARMSSE() is a function-like macro.
>   Yes, I know that's in rather poor taste.

I am curious for the safe handling of related software development challenges.


> * Workaround #1: rename the typedef to ARMSSE_

Will adjustments become more interesting also around such name space issues?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-04-20 15:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06  8:20 [Cocci] Function-like macro with the same name as a typedef Markus Elfring
2020-04-20 13:54 ` Markus Armbruster
2020-04-20 14:08   ` Markus Elfring
2020-04-20 14:29     ` Markus Armbruster
2020-04-20 14:47       ` Markus Elfring
2020-04-20 15:55         ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.