clang 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::Sema::AlignPackInfo Class Reference

#include "clang/Sema/Sema.h"

Public Types

enum  Mode : unsigned char { Native , Natural , Packed , Mac68k }
 

Public Member Functions

 AlignPackInfo (AlignPackInfo::Mode M, unsigned Num, bool IsXL)
 
 AlignPackInfo (AlignPackInfo::Mode M, bool IsXL)
 
 AlignPackInfo (bool IsXL)
 
 AlignPackInfo ()
 
bool IsPackAttr () const
 
bool IsAlignAttr () const
 
Mode getAlignMode () const
 
unsigned getPackNumber () const
 
bool IsPackSet () const
 
bool IsXLStack () const
 
bool operator== (const AlignPackInfo &Info) const
 
bool operator!= (const AlignPackInfo &Info) const
 

Static Public Member Functions

static uint32_t getRawEncoding (const AlignPackInfo &Info)
 
static AlignPackInfo getFromRawEncoding (unsigned Encoding)
 

Detailed Description

Definition at line 1499 of file Sema.h.

Member Enumeration Documentation

◆ Mode

Enumerator
Native 
Natural 
Packed 
Mac68k 

Definition at line 1503 of file Sema.h.

Constructor & Destructor Documentation

◆ AlignPackInfo() [1/4]

clang::Sema::AlignPackInfo::AlignPackInfo ( AlignPackInfo::Mode  M,
unsigned  Num,
bool  IsXL 
)
inline

Definition at line 1506 of file Sema.h.

◆ AlignPackInfo() [2/4]

clang::Sema::AlignPackInfo::AlignPackInfo ( AlignPackInfo::Mode  M,
bool  IsXL 
)
inline

Definition at line 1512 of file Sema.h.

◆ AlignPackInfo() [3/4]

clang::Sema::AlignPackInfo::AlignPackInfo ( bool  IsXL)
inlineexplicit

Definition at line 1516 of file Sema.h.

◆ AlignPackInfo() [4/4]

clang::Sema::AlignPackInfo::AlignPackInfo ( )
inline

Definition at line 1518 of file Sema.h.

Referenced by getFromRawEncoding().

Member Function Documentation

◆ getAlignMode()

Mode clang::Sema::AlignPackInfo::getAlignMode ( ) const
inline

◆ getFromRawEncoding()

static AlignPackInfo clang::Sema::AlignPackInfo::getFromRawEncoding ( unsigned  Encoding)
inlinestatic

Definition at line 1538 of file Sema.h.

References AlignPackInfo().

Referenced by clang::ASTReader::ReadAlignPackInfo().

◆ getPackNumber()

unsigned clang::Sema::AlignPackInfo::getPackNumber ( ) const
inline

◆ getRawEncoding()

static uint32_t clang::Sema::AlignPackInfo::getRawEncoding ( const AlignPackInfo Info)
inlinestatic

Definition at line 1523 of file Sema.h.

References getAlignMode(), getPackNumber(), IsPackAttr(), and IsXLStack().

Referenced by clang::ASTWriter::AddAlignPackInfo().

◆ IsAlignAttr()

bool clang::Sema::AlignPackInfo::IsAlignAttr ( ) const
inline

◆ IsPackAttr()

bool clang::Sema::AlignPackInfo::IsPackAttr ( ) const
inline

Definition at line 1550 of file Sema.h.

Referenced by getRawEncoding().

◆ IsPackSet()

bool clang::Sema::AlignPackInfo::IsPackSet ( ) const
inline

◆ IsXLStack()

bool clang::Sema::AlignPackInfo::IsXLStack ( ) const
inline

Definition at line 1564 of file Sema.h.

Referenced by getRawEncoding().

◆ operator!=()

bool clang::Sema::AlignPackInfo::operator!= ( const AlignPackInfo Info) const
inline

Definition at line 1572 of file Sema.h.

◆ operator==()

bool clang::Sema::AlignPackInfo::operator== ( const AlignPackInfo Info) const
inline

Definition at line 1566 of file Sema.h.


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