File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 4949#define ada_unused
5050#define ada_warn_unused
5151
52- #ifndef ada_likely
53- #define ada_likely (x ) x
54- #endif
55- #ifndef ada_unlikely
56- #define ada_unlikely (x ) x
57- #endif
58-
5952#define ADA_PUSH_DISABLE_WARNINGS __pragma (warning(push))
6053#define ADA_PUSH_DISABLE_ALL_WARNINGS __pragma (warning(push, 0 ))
6154#define ADA_DISABLE_VS_WARNING (WARNING_NUMBER ) \
8780#define ada_unused __attribute__ ((unused))
8881#define ada_warn_unused __attribute__ ((warn_unused_result))
8982
90- #ifndef ada_likely
91- #define ada_likely (x ) __builtin_expect(!!(x), 1 )
92- #endif
93- #ifndef ada_unlikely
94- #define ada_unlikely (x ) __builtin_expect(!!(x), 0 )
95- #endif
96-
9783#define ADA_PUSH_DISABLE_WARNINGS _Pragma (" GCC diagnostic push" )
9884// gcc doesn't seem to disable all warnings with all and extra, add warnings
9985// here as necessary
You can’t perform that action at this time.
0 commit comments