Fixed functions not inlined with Clang #302

master
Christophe Riccio ago%!(EXTRA string=10 years)
parent d8576b94f3
commit 2fc4532931
  1. 5
      glm/detail/setup.hpp

@ -824,12 +824,9 @@
# if GLM_COMPILER & GLM_COMPILER_VC
# define GLM_INLINE __forceinline
# define GLM_NEVER_INLINE __declspec((noinline))
# elif GLM_COMPILER & GLM_COMPILER_GCC
# elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM)
# define GLM_INLINE inline __attribute__((__always_inline__))
# define GLM_NEVER_INLINE __attribute__((__noinline__))
# elif GLM_COMPILER & (GLM_COMPILER_APPLE_CLANG | GLM_COMPILER_LLVM)
# define GLM_INLINE __attribute__((__always_inline__))
# define GLM_NEVER_INLINE __attribute__((__noinline__))
# else
# define GLM_INLINE inline
# define GLM_NEVER_INLINE

Loading…
Cancel
Save