Project Alice
Loading...
Searching...
No Matches
clangfeatures.h File Reference
#include "gccfeatures.h"
Include dependency graph for clangfeatures.h:

Go to the source code of this file.

Macros

#define R123_USE_X86INTRIN_H   0
 
#define R123_USE_CXX11_UNRESTRICTED_UNIONS   __has_feature(cxx_unrestricted_unions)
 
#define R123_USE_CXX11_STATIC_ASSERT   __has_feature(cxx_static_assert)
 
#define R123_STATIC_ASSERT(expr, msg)   _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wall\"") typedef char static_assertion[(!!(expr)) * 2 - 1] _Pragma("clang diagnostic pop")
 
#define R123_USE_CXX11_CONSTEXPR   __has_feature(cxx_constexpr)
 
#define R123_USE_CXX11_EXPLICIT_CONVERSIONS   __has_feature(cxx_explicit_conversions)
 
#define R123_USE_CXX11_RANDOM   0
 
#define R123_USE_CXX11_TYPE_TRAITS   0
 

Macro Definition Documentation

◆ R123_STATIC_ASSERT

#define R123_STATIC_ASSERT (   expr,
  msg 
)    _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wall\"") typedef char static_assertion[(!!(expr)) * 2 - 1] _Pragma("clang diagnostic pop")

Definition at line 57 of file clangfeatures.h.

◆ R123_USE_CXX11_CONSTEXPR

#define R123_USE_CXX11_CONSTEXPR   __has_feature(cxx_constexpr)

Definition at line 61 of file clangfeatures.h.

◆ R123_USE_CXX11_EXPLICIT_CONVERSIONS

#define R123_USE_CXX11_EXPLICIT_CONVERSIONS   __has_feature(cxx_explicit_conversions)

Definition at line 65 of file clangfeatures.h.

◆ R123_USE_CXX11_RANDOM

#define R123_USE_CXX11_RANDOM   0

Definition at line 75 of file clangfeatures.h.

◆ R123_USE_CXX11_STATIC_ASSERT

#define R123_USE_CXX11_STATIC_ASSERT   __has_feature(cxx_static_assert)

Definition at line 48 of file clangfeatures.h.

◆ R123_USE_CXX11_TYPE_TRAITS

#define R123_USE_CXX11_TYPE_TRAITS   0

Definition at line 83 of file clangfeatures.h.

◆ R123_USE_CXX11_UNRESTRICTED_UNIONS

#define R123_USE_CXX11_UNRESTRICTED_UNIONS   __has_feature(cxx_unrestricted_unions)

Definition at line 44 of file clangfeatures.h.

◆ R123_USE_X86INTRIN_H

#define R123_USE_X86INTRIN_H   0

Definition at line 39 of file clangfeatures.h.