https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116016
--- Comment #12 from qinzhao at gcc dot gnu.org --- (In reply to Bill Wendling from comment #10) > The Clang implementation will probably have a prototype of something like: > > void __builtin_set_counted_by(void *, size_t) > > The 'void *' could be questionable, but I'm not sure how else to specify it > (of course the compiler will do its magic internally to verify that it's a > pointer to a FAM and has the 'counted_by' attribute, etc.). If we use 'void > *', is it considered an error for the first parameter to NOT be a FAM? Or > does the builtin silently become a no-op? my question, is it possible for CLANG to define this builtin as a language extension as well?