We have the has_cpp_attribute builtin macro to determine when an attribute is supported with C++ [[]] syntax, and this patch adds the analogous has_c_attribute builtin macro so that users can test whether a given [[]] attribute is available in C when -fdouble-square-bracket-attributes is specified.
Details
Details
Diff Detail
Diff Detail