We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
inline
gcc
1 parent 275c895 commit da77680Copy full SHA for da77680
1 file changed
wheel_lexer/include/wheel_lexer/aliases.hxx
@@ -8,9 +8,9 @@
8
#define WHEEL_STR_UNLIKELY(str1, str2) str1 != str2
9
10
#if defined(__clang__) || defined(__GNUC__)
11
- #define WHEEL_ALWAYS_INLINE __attribute__((always_inline))
12
- #define WHEEL_COMPTIME_NODISCARD_INLINE [[nodiscard]] __attribute__((always_inline)) constexpr
13
- #define WHEEL_ALWAYS_INLINE_NODISCARD [[nodiscard]] __attribute__((always_inline))
+ #define WHEEL_ALWAYS_INLINE __attribute__((always_inline)) inline
+ #define WHEEL_COMPTIME_NODISCARD_INLINE [[nodiscard]] __attribute__((always_inline)) inline constexpr
+ #define WHEEL_ALWAYS_INLINE_NODISCARD [[nodiscard]] __attribute__((always_inline)) inline
14
15
#elif defined(_MSC_VER)
16
#define WHEEL_ALWAYS_INLINE __forceinline
0 commit comments