LLVM 20.0.0git
Functions
llvm::object::detail Namespace Reference

Functions

template<typename T >
std::enable_if_t< std::is_arithmetic< T >::value, void > swapBytes (T &value)
 
template<typename T >
std::enable_if_t< std::is_class< T >::value, void > swapBytes (T &value)
 

Function Documentation

◆ swapBytes() [1/2]

template<typename T >
std::enable_if_t< std::is_arithmetic< T >::value, void > llvm::object::detail::swapBytes ( T value)

Definition at line 32 of file DXContainer.h.

References llvm::sys::swapByteOrder(), and value.

Referenced by llvm::object::ViewArray< T >::iterator::operator*().

◆ swapBytes() [2/2]

template<typename T >
std::enable_if_t< std::is_class< T >::value, void > llvm::object::detail::swapBytes ( T value)

Definition at line 37 of file DXContainer.h.

References value.