LLVM 20.0.0git
Public Types | Static Public Attributes | List of all members
llvm::detail::is_array< T > Struct Template Reference

A type trait whose value field is true if the given type is a BCArray (of any element kind). More...

#include "llvm/Bitcode/BitcodeConvenience.h"

Public Types

typedef bool value_type
 

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct llvm::detail::is_array< T >

A type trait whose value field is true if the given type is a BCArray (of any element kind).

Definition at line 336 of file BitcodeConvenience.h.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef bool llvm::detail::is_array< T >::value_type

Definition at line 342 of file BitcodeConvenience.h.

Member Data Documentation

◆ value

template<typename T >
constexpr bool llvm::detail::is_array< T >::value
staticconstexpr
Initial value:
= !std::is_same<decltype(check((T *)nullptr)),
decltype(check(false))>::value
#define check(cond)
static constexpr bool value

Definition at line 343 of file BitcodeConvenience.h.


The documentation for this struct was generated from the following file: