clang 19.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 1520 of file Sema.h.

Member Enumeration Documentation

◆ Mode

Enumerator
Native 
Natural 
Packed 
Mac68k 

Definition at line 1524 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 1527 of file Sema.h.

◆ AlignPackInfo() [2/4]

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

Definition at line 1533 of file Sema.h.

◆ AlignPackInfo() [3/4]

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

Definition at line 1537 of file Sema.h.

◆ AlignPackInfo() [4/4]

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

Definition at line 1539 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 1559 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 1544 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 1571 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 1585 of file Sema.h.

Referenced by getRawEncoding().

◆ operator!=()

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

Definition at line 1593 of file Sema.h.

◆ operator==()

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

Definition at line 1587 of file Sema.h.


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