Index: Compiler.h =================================================================== --- Compiler.h +++ Compiler.h @@ -233,6 +233,8 @@ #define LLVM_FALLTHROUGH #elif __has_cpp_attribute(clang::fallthrough) #define LLVM_FALLTHROUGH [[clang::fallthrough]] +#elif __has_cpp_attribute(gnu::fallthrough) +#define LLVM_FALLTHROUGH [[gnu::fallthrough]] #else #define LLVM_FALLTHROUGH #endif