From 5d0404a0abfe5024831801023576b2c628532b1f Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Thu, 28 Mar 2024 13:47:25 -0700 Subject: [PATCH] Rename fallthrough to warning_macros --- src/coreclr/gc/unix/gcenv.unix.cpp | 2 +- src/coreclr/gc/vxsort/vxsort.h | 2 +- src/coreclr/inc/palclr_win.h | 2 +- src/coreclr/inc/{fallthrough.h => warning_macros.h} | 0 src/coreclr/pal/inc/pal.h | 2 +- src/coreclr/pal/src/include/pal/palinternal.h | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename src/coreclr/inc/{fallthrough.h => warning_macros.h} (100%) diff --git a/src/coreclr/gc/unix/gcenv.unix.cpp b/src/coreclr/gc/unix/gcenv.unix.cpp index 9fc6d758aaa3b2..98a4f4d311e64c 100644 --- a/src/coreclr/gc/unix/gcenv.unix.cpp +++ b/src/coreclr/gc/unix/gcenv.unix.cpp @@ -35,7 +35,7 @@ #define __has_cpp_attribute(x) (0) #endif -#include "../../inc/fallthrough.h" +#include "../../inc/warning_macros.h" #include diff --git a/src/coreclr/gc/vxsort/vxsort.h b/src/coreclr/gc/vxsort/vxsort.h index c802ed51fc2bc6..1ccb027d9ca23b 100644 --- a/src/coreclr/gc/vxsort/vxsort.h +++ b/src/coreclr/gc/vxsort/vxsort.h @@ -13,7 +13,7 @@ #endif #endif -#include "../../inc/fallthrough.h" +#include "../../inc/warning_macros.h" #include #include diff --git a/src/coreclr/inc/palclr_win.h b/src/coreclr/inc/palclr_win.h index e451816aaa8391..c1609d00de7b38 100644 --- a/src/coreclr/inc/palclr_win.h +++ b/src/coreclr/inc/palclr_win.h @@ -140,6 +140,6 @@ typedef HMODULE NATIVE_LIBRARY_HANDLE; #endif // HOST_WINDOWS -#include "fallthrough.h" +#include "warning_macros.h" #endif // __PALCLR_WIN_H__ diff --git a/src/coreclr/inc/fallthrough.h b/src/coreclr/inc/warning_macros.h similarity index 100% rename from src/coreclr/inc/fallthrough.h rename to src/coreclr/inc/warning_macros.h diff --git a/src/coreclr/pal/inc/pal.h b/src/coreclr/pal/inc/pal.h index b91e191dff94a7..a9e4f15158ab69 100644 --- a/src/coreclr/pal/inc/pal.h +++ b/src/coreclr/pal/inc/pal.h @@ -175,7 +175,7 @@ extern bool g_arm64_atomics_present; #define __has_cpp_attribute(x) (0) #endif -#include "../../inc/fallthrough.h" +#include "../../inc/warning_macros.h" #ifndef PAL_STDCPP_COMPAT diff --git a/src/coreclr/pal/src/include/pal/palinternal.h b/src/coreclr/pal/src/include/pal/palinternal.h index 2f4c0a6b67bfcf..7155a4bf20416d 100644 --- a/src/coreclr/pal/src/include/pal/palinternal.h +++ b/src/coreclr/pal/src/include/pal/palinternal.h @@ -769,7 +769,7 @@ const char StackOverflowMessage[] = "Stack overflow.\n"; #endif // __cplusplus -#include "../../../../inc/fallthrough.h" +#include "../../../../inc/warning_macros.h" DWORD PALAPI GetCurrentSessionId();