From 618dd9d6afa99b774b5b2f87fe0746bb895382a1 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 9 Feb 2015 07:54:03 -0800 Subject: [PATCH] Remove the fallthrough attribute detection --- format.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/format.h b/format.h index 724acaaeff1f..c6bdd707f4e8 100644 --- a/format.h +++ b/format.h @@ -61,7 +61,6 @@ #endif #ifdef __clang__ -# define FMT_CLANG_VERSION (__clang_major__ * 100 + __clang_minor__) # pragma clang diagnostic ignored "-Wdocumentation-unknown-command" #endif @@ -120,13 +119,6 @@ # define FMT_NOEXCEPT(expr) #endif -#if FMT_HAS_CPP_ATTRIBUTE(clang::fallthrough) || \ - (FMT_CLANG_VERSION >= 600 && __cplusplus >= 201103) -# define FMT_FALLTHROUGH [[clang::fallthrough]] -#else -# define FMT_FALLTHROUGH -#endif - // A macro to disallow the copy constructor and operator= functions // This should be used in the private: declarations for a class #define FMT_DISALLOW_COPY_AND_ASSIGN(TypeName) \