Skip to content

Commit f9f0dc0

Browse files
committed
remove not used compiler attributes
1 parent d0d07d5 commit f9f0dc0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

stan/math/prim/meta/compiler_attributes.hpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,11 @@
44
#ifdef __GNUC__
55
#define likely(x) __builtin_expect(!!(x), 1)
66
#define unlikely(x) __builtin_expect(!!(x), 0)
7-
#define STAN_ALWAYS_INLINE __attribute__((always_inline))
8-
#define STAN_STRONG_INLINE inline STAN_ALWAYS_INLINE
9-
#define STAN_FLATTEN __attribute__((flatten))
10-
#define STAN_STRONGER_INLINE inline __attribute__((always_inline, flatten))
117
#define STAN_COLD_PATH __attribute__((noinline, cold))
12-
#define STAN_HOT_PATH __attribute__((hot))
138
#else
149
#define likely(x) (x)
1510
#define unlikely(x) (x)
16-
#define STAN_ALWAYS_INLINE
17-
#define STAN_STRONG_INLINE inline
18-
#define STAN_FLATTEN
19-
#define STAN_STRONGER_INLINE
2011
#define STAN_COLD_PATH
21-
#define STAN_HOT_PATH
2212
#endif
2313

2414
#endif

0 commit comments

Comments
 (0)