attributes: consider supporting more _ATTRIBUTE
macros
#3834
Labels
enhancement
Something can be improved
_ATTRIBUTE
macros
#3834
Currently we have
_NODISCARD
and_FALLTHROUGH
, which will expand to[[attribute]]
if supported, or nothing otherwise.I think it will be very helpful to support more
_ATTRIBUTE
macros for standard attributes. For example, in this pr, we can make the code much cleaner if we have_LIKELY
and_UNLIKELY
.The text was updated successfully, but these errors were encountered: