Skip to content

Commit 19e8e53

Browse files
committed
Rename fallthrough to warning_macros
1 parent 7f832e6 commit 19e8e53

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/coreclr/gc/unix/gcenv.unix.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define __has_cpp_attribute(x) (0)
3636
#endif
3737

38-
#include "../../inc/fallthrough.h"
38+
#include "../../inc/warning_macros.h"
3939

4040
#include <algorithm>
4141

src/coreclr/gc/vxsort/vxsort.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#endif
1414
#endif
1515

16-
#include "../../inc/fallthrough.h"
16+
#include "../../inc/warning_macros.h"
1717
#include <assert.h>
1818
#include <immintrin.h>
1919

src/coreclr/inc/palclr_win.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,6 @@
140140
typedef HMODULE NATIVE_LIBRARY_HANDLE;
141141
#endif // HOST_WINDOWS
142142

143-
#include "fallthrough.h"
143+
#include "warning_macros.h"
144144

145145
#endif // __PALCLR_WIN_H__
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef __FALLTHROUGH_H__
2-
#define __FALLTHROUGH_H__
1+
#ifndef __WARNING_MACROS_H__
2+
#define __WARNING_MACROS_H__
33

44
#ifndef FALLTHROUGH
55
#if __has_cpp_attribute(fallthrough)
@@ -9,4 +9,4 @@
99
#endif // __has_cpp_attribute(fallthrough)
1010
#endif //!FALLTHROUGH
1111

12-
#endif //__FALLTHROUGH_H__
12+
#endif //__WARNING_MACROS_H__

src/coreclr/pal/inc/pal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ extern bool g_arm64_atomics_present;
175175
#define __has_cpp_attribute(x) (0)
176176
#endif
177177

178-
#include "../../inc/fallthrough.h"
178+
#include "../../inc/warning_macros.h"
179179

180180
#ifndef PAL_STDCPP_COMPAT
181181

src/coreclr/pal/src/include/pal/palinternal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ const char StackOverflowMessage[] = "Stack overflow.\n";
769769

770770
#endif // __cplusplus
771771

772-
#include "../../../../inc/fallthrough.h"
772+
#include "../../../../inc/warning_macros.h"
773773

774774
DWORD PALAPI GetCurrentSessionId();
775775

0 commit comments

Comments
 (0)