Loading...
Searching...
No Matches
Go to the documentation of this file.
11#ifndef TLX_DEFINE_ATTRIBUTE_FALLTHROUGH_HEADER
12#define TLX_DEFINE_ATTRIBUTE_FALLTHROUGH_HEADER
22#if defined(__GNUC__) && __GNUC__ >= 7
23#define TLX_ATTRIBUTE_FALLTHROUGH __attribute__ ((fallthrough))
24#elif defined(__clang__)
25#define TLX_ATTRIBUTE_FALLTHROUGH [[clang::fallthrough]]
27#define TLX_ATTRIBUTE_FALLTHROUGH