![Logo](tetiere_ht.jpg) |
DATAKIT API
V2025.1
|
|
Go to the documentation of this file. 1 #ifndef DTK_COMPILER_CLANG_H
2 #define DTK_COMPILER_CLANG_H
8 #ifdef AF51BDA7E49648f8AB95949F4CA52EF8
10 #define DTK_CDECL __cdecl
11 #define DTK_STDCALL __stdcall
16 #if !__has_feature(cxx_static_assert)
17 #define DTK_NO_CXX11_STATIC_ASSERT
20 #if !__has_feature(cxx_nullptr)
21 # define DTK_NO_CXX11_NULLPTR
24 #if !__has_feature(cxx_decltype)
25 # define DTK_NO_CXX11_DECLTYPE
28 #if !__has_feature(cxx_variadic_templates)
29 # define DTK_NO_CXX11_VARIADIC_TEMPLATES
32 #if !__has_feature(cxx_rvalue_references)
33 # define DTK_NO_CXX11_RVALUE_REFERENCES
36 #if !__has_feature(cxx_deleted_functions)
37 # define DTK_NO_CXX11_DELETED_FUNCTIONS
40 #if !__has_feature(cxx_noexcept)
41 # define DTK_NO_CXX11_NOEXCEPT
44 #if !__has_feature(cxx_constexpr)
45 # define DTK_NO_CXX11_CONSTEXPR
48 #if !__has_feature(cxx_explicit_conversions)
49 # define DTK_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS
53 #if !__has_feature(__cxx_generic_lambdas__) || !__has_feature(__cxx_relaxed_constexpr__)
54 # define DTK_NO_CXX14_CONSTEXPR
60 #if defined(_MSC_VER) || !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
61 # define DTK_NO_CXX11_CHAR16_T
62 # define DTK_NO_CXX11_CHAR32_T
65 #if defined(DTK_CLANG) && defined(__has_feature)
66 # if (!defined(__GLIBCXX__) || (__GLIBCXX__ >= 20080306 && __GLIBCXX__ != 20080519)) && __has_feature(is_empty)
67 # define DTK_MOVE_IS_EMPTY(T) __is_empty(T)
69 # if __has_feature(is_union)
70 # define DTK_MOVE_IS_UNION(T) __is_union(T)
72 # if __has_feature(is_enum)
73 # define DTK_MOVE_IS_ENUM(T) __is_enum(T)
78 #define DTK_HAS_LONG_LONG