r/C_Programming • u/tavianator • 12h ago
Tidy translucent typedefs
https://tavianator.com/2026/translucent_2.htmlRecently discovered a nice way to get custom warnings with Clang, so I wrote it up.
28
Upvotes
5
u/Accurate_Appeal_3110 11h ago
This is really neat! Could be really useful on enums to prevent implicit conversions to and from its underlying type, like C++'s enum classes
1
u/bacmod 6h ago
Give me a source to run it.