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

#include "llvm/Support/TrailingObjects.h"

Inheritance diagram for llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys... >:
Inheritance graph
[legend]
Collaboration diagram for llvm::trailing_objects_internal::TrailingObjectsImpl< Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys... >:
Collaboration graph
[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

◆ additionalSizeToAllocImpl()

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().

◆ getTrailingObjectsImpl() [1/2]

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().

◆ getTrailingObjectsImpl() [2/2]

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().


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