clang  16.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

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 179 of file ASTContext.h.

Constructor & Destructor Documentation

◆ TypeInfo() [1/2]

clang::TypeInfo::TypeInfo ( )

Definition at line 184 of file ASTContext.h.

◆ TypeInfo() [2/2]

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

Definition at line 185 of file ASTContext.h.

Member Function Documentation

◆ isAlignRequired()

bool clang::TypeInfo::isAlignRequired ( )

Definition at line 188 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: