summaryrefslogtreecommitdiffstats
path: root/base/include/android-base/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/include/android-base/macros.h')
-rw-r--r--base/include/android-base/macros.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/base/include/android-base/macros.h b/base/include/android-base/macros.h
index 0c8eac03c..49cc0c980 100644
--- a/base/include/android-base/macros.h
+++ b/base/include/android-base/macros.h
@@ -170,17 +170,7 @@ void UNUSED(const T&...) {
//
// In either case this macro has no effect on runtime behavior and performance
// of code.
-#if defined(__clang__) && defined(__has_warning)
-#if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough")
#define FALLTHROUGH_INTENDED [[clang::fallthrough]] // NOLINT
-#endif
-#endif
-
-#ifndef FALLTHROUGH_INTENDED
-#define FALLTHROUGH_INTENDED \
- do { \
- } while (0)
-#endif
// Current ABI string
#if defined(__arm__)