Renamed LLVM compiler to Clang

This commit is contained in:
Patrick McMorris 2014-10-21 00:10:05 -07:00
parent 742ea9d0a1
commit cb57a07842

View File

@ -152,14 +152,14 @@
#define GLM_COMPILER_CUDA60 0x10000080 #define GLM_COMPILER_CUDA60 0x10000080
#define GLM_COMPILER_CUDA65 0x10000090 #define GLM_COMPILER_CUDA65 0x10000090
// LLVM // Clang
#define GLM_COMPILER_LLVM 0x20000000 #define GLM_COMPILER_CLANG 0x20000000
#define GLM_COMPILER_LLVM30 0x20000010 #define GLM_COMPILER_CLANG30 0x20000010
#define GLM_COMPILER_LLVM31 0x20000020 #define GLM_COMPILER_CLANG31 0x20000020
#define GLM_COMPILER_LLVM32 0x20000030 #define GLM_COMPILER_CLANG32 0x20000030
#define GLM_COMPILER_LLVM33 0x20000040 #define GLM_COMPILER_CLANG33 0x20000040
#define GLM_COMPILER_LLVM34 0x20000050 #define GLM_COMPILER_CLANG34 0x20000050
#define GLM_COMPILER_LLVM35 0x20000060 #define GLM_COMPILER_CLANG35 0x20000060
// Apple Clang // Apple Clang
#define GLM_COMPILER_APPLE_CLANG 0x40000000 #define GLM_COMPILER_APPLE_CLANG 0x40000000
@ -242,19 +242,19 @@
# endif # endif
# elif GLM_PLATFORM & GLM_PLATFORM_LINUX # elif GLM_PLATFORM & GLM_PLATFORM_LINUX
# if __clang_major__ == 3 && __clang_minor__ == 0 # if __clang_major__ == 3 && __clang_minor__ == 0
# define GLM_COMPILER GLM_COMPILER_LLVM30 # define GLM_COMPILER GLM_COMPILER_CLANG30
# elif __clang_major__ == 3 && __clang_minor__ == 1 # elif __clang_major__ == 3 && __clang_minor__ == 1
# define GLM_COMPILER GLM_COMPILER_LLVM31 # define GLM_COMPILER GLM_COMPILER_CLANG31
# elif __clang_major__ == 3 && __clang_minor__ == 2 # elif __clang_major__ == 3 && __clang_minor__ == 2
# define GLM_COMPILER GLM_COMPILER_LLVM32 # define GLM_COMPILER GLM_COMPILER_CLANG32
# elif __clang_major__ == 3 && __clang_minor__ == 3 # elif __clang_major__ == 3 && __clang_minor__ == 3
# define GLM_COMPILER GLM_COMPILER_LLVM33 # define GLM_COMPILER GLM_COMPILER_CLANG33
# elif __clang_major__ == 3 && __clang_minor__ == 4 # elif __clang_major__ == 3 && __clang_minor__ == 4
# define GLM_COMPILER GLM_COMPILER_LLVM34 # define GLM_COMPILER GLM_COMPILER_CLANG34
# elif __clang_major__ == 3 && __clang_minor__ == 5 # elif __clang_major__ == 3 && __clang_minor__ == 5
# define GLM_COMPILER GLM_COMPILER_LLVM35 # define GLM_COMPILER GLM_COMPILER_CLANG35
# else # else
# define GLM_COMPILER GLM_COMPILER_LLVM35 # define GLM_COMPILER GLM_COMPILER_CLANG35
# endif # endif
# endif # endif