Hello,
I am trying to add a new builtin to Clang so I read the following file:
./clang/include/clang/Basic/Builtins.def
The beginning of this file show some indications about how to define a builtin. However, I’m stuck for defining a generic type for a macro taking a typeof
as an argument.
BUILTIN(__builtin_foo, "b?", "n")
How can I define my builtin for a generic type ? (This type can be a structure).