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.
Currently we have
_NODISCARDand_FALLTHROUGH, which will expand to[[attribute]]if supported, or nothing otherwise.I think it will be very helpful to support more
_ATTRIBUTEmacros for standard attributes. For example, in this pr, we can make the code much cleaner if we have_LIKELYand_UNLIKELY.