LLVM  4.0.0
Classes | Static Protected Member Functions | List of all members
llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...> Class Template Reference

#include <TrailingObjects.h>

Inheritance diagram for llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>:
[legend]
Collaboration diagram for llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>:
[legend]

Static Protected Member Functions

static const NextTy * getTrailingObjectsImpl (const BaseTy *Obj, TrailingObjectsBase::OverloadToken< NextTy >)
 
static NextTy * getTrailingObjectsImpl (BaseTy *Obj, TrailingObjectsBase::OverloadToken< NextTy >)
 
static constexpr size_t additionalSizeToAllocImpl (size_t SizeSoFar, size_t Count1, typename ExtractSecondType< MoreTys, size_t >::type...MoreCounts)
 

Detailed Description

template<int Align, typename BaseTy, typename TopTrailingObj, typename PrevTy, typename NextTy, typename... MoreTys>
class llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>

Definition at line 137 of file TrailingObjects.h.

Member Function Documentation

template<int Align, typename BaseTy , typename TopTrailingObj , typename PrevTy , typename NextTy , typename... MoreTys>
static constexpr size_t llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>::additionalSizeToAllocImpl ( size_t  SizeSoFar,
size_t  Count1,
typename ExtractSecondType< MoreTys, size_t >::type...  MoreCounts 
)
inlinestaticprotected

Definition at line 198 of file TrailingObjects.h.

References llvm::alignTo().

template<int Align, typename BaseTy , typename TopTrailingObj , typename PrevTy , typename NextTy , typename... MoreTys>
static const NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>::getTrailingObjectsImpl ( const BaseTy *  Obj,
TrailingObjectsBase::OverloadToken< NextTy >   
)
inlinestaticprotected

Definition at line 167 of file TrailingObjects.h.

References llvm::alignAddr(), and Ptr.

template<int Align, typename BaseTy , typename TopTrailingObj , typename PrevTy , typename NextTy , typename... MoreTys>
static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys...>::getTrailingObjectsImpl ( BaseTy *  Obj,
TrailingObjectsBase::OverloadToken< NextTy >   
)
inlinestaticprotected

Definition at line 182 of file TrailingObjects.h.

References llvm::alignAddr(), and Ptr.


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