clang  14.0.0git
Public Member Functions | Public Attributes | List of all members
clang::TypeInfo Struct Reference

#include "clang/AST/ASTContext.h"

Collaboration diagram for clang::TypeInfo:
Collaboration graph
[legend]

Public Member Functions

 TypeInfo ()
 
 TypeInfo (uint64_t Width, unsigned Align, AlignRequirementKind AlignRequirement)
 
bool isAlignRequired ()
 

Public Attributes

uint64_t Width = 0
 
unsigned Align = 0
 
AlignRequirementKind AlignRequirement
 

Detailed Description

Definition at line 182 of file ASTContext.h.

Constructor & Destructor Documentation

◆ TypeInfo() [1/2]

clang::TypeInfo::TypeInfo ( )
inline

Definition at line 187 of file ASTContext.h.

◆ TypeInfo() [2/2]

clang::TypeInfo::TypeInfo ( uint64_t  Width,
unsigned  Align,
AlignRequirementKind  AlignRequirement 
)
inline

Definition at line 188 of file ASTContext.h.

Member Function Documentation

◆ isAlignRequired()

bool clang::TypeInfo::isAlignRequired ( )
inline

Definition at line 191 of file ASTContext.h.

References AlignRequirement, and clang::None.

Referenced by clang::ASTContext::getPreferredTypeAlign(), and getTypeAlignIfRequired().

Member Data Documentation

◆ Align

unsigned clang::TypeInfo::Align = 0

◆ AlignRequirement

AlignRequirementKind clang::TypeInfo::AlignRequirement

◆ Width

uint64_t clang::TypeInfo::Width = 0

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