clang 22.0.0git
clang::FunctionType::ExtInfo Class Reference

A class which abstracts out some details necessary for making a call. More...

#include "clang/AST/TypeBase.h"

Public Member Functions

 ExtInfo (bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc, bool producesResult, bool noCallerSavedRegs, bool NoCfCheck, bool cmseNSCall)
 ExtInfo ()=default
 ExtInfo (CallingConv CC)
bool getNoReturn () const
bool getProducesResult () const
bool getCmseNSCall () const
bool getNoCallerSavedRegs () const
bool getNoCfCheck () const
bool getHasRegParm () const
unsigned getRegParm () const
CallingConv getCC () const
bool operator== (ExtInfo Other) const
bool operator!= (ExtInfo Other) const
ExtInfo withNoReturn (bool noReturn) const
ExtInfo withProducesResult (bool producesResult) const
ExtInfo withCmseNSCall (bool cmseNSCall) const
ExtInfo withNoCallerSavedRegs (bool noCallerSavedRegs) const
ExtInfo withNoCfCheck (bool noCfCheck) const
ExtInfo withRegParm (unsigned RegParm) const
ExtInfo withCallingConv (CallingConv cc) const
void Profile (llvm::FoldingSetNodeID &ID) const

Friends

class FunctionType

Detailed Description

A class which abstracts out some details necessary for making a call.

It is not actually used directly for storing this information in a FunctionType, although FunctionType does currently use the same bit-pattern.

Definition at line 4571 of file TypeBase.h.

Constructor & Destructor Documentation

◆ ExtInfo() [1/3]

clang::FunctionType::ExtInfo::ExtInfo ( bool noReturn,
bool hasRegParm,
unsigned regParm,
CallingConv cc,
bool producesResult,
bool noCallerSavedRegs,
bool NoCfCheck,
bool cmseNSCall )
inline

Definition at line 4596 of file TypeBase.h.

◆ ExtInfo() [2/3]

clang::FunctionType::ExtInfo::ExtInfo ( )
default

◆ ExtInfo() [3/3]

clang::FunctionType::ExtInfo::ExtInfo ( CallingConv CC)
inline

Definition at line 4614 of file TypeBase.h.

Member Function Documentation

◆ getCC()

◆ getCmseNSCall()

bool clang::FunctionType::ExtInfo::getCmseNSCall ( ) const
inline

◆ getHasRegParm()

◆ getNoCallerSavedRegs()

◆ getNoCfCheck()

bool clang::FunctionType::ExtInfo::getNoCfCheck ( ) const
inline

◆ getNoReturn()

◆ getProducesResult()

◆ getRegParm()

◆ operator!=()

bool clang::FunctionType::ExtInfo::operator!= ( ExtInfo Other) const
inline

Definition at line 4635 of file TypeBase.h.

References clang::Other.

◆ operator==()

bool clang::FunctionType::ExtInfo::operator== ( ExtInfo Other) const
inline

Definition at line 4632 of file TypeBase.h.

References clang::Other.

◆ Profile()

void clang::FunctionType::ExtInfo::Profile ( llvm::FoldingSetNodeID & ID) const
inline

Definition at line 4687 of file TypeBase.h.

Referenced by clang::FunctionNoProtoType::Profile().

◆ withCallingConv()

◆ withCmseNSCall()

ExtInfo clang::FunctionType::ExtInfo::withCmseNSCall ( bool cmseNSCall) const
inline

Definition at line 4656 of file TypeBase.h.

◆ withNoCallerSavedRegs()

ExtInfo clang::FunctionType::ExtInfo::withNoCallerSavedRegs ( bool noCallerSavedRegs) const
inline

Definition at line 4663 of file TypeBase.h.

Referenced by clang::Sema::MergeFunctionDecl().

◆ withNoCfCheck()

ExtInfo clang::FunctionType::ExtInfo::withNoCfCheck ( bool noCfCheck) const
inline

Definition at line 4670 of file TypeBase.h.

◆ withNoReturn()

◆ withProducesResult()

ExtInfo clang::FunctionType::ExtInfo::withProducesResult ( bool producesResult) const
inline

◆ withRegParm()

ExtInfo clang::FunctionType::ExtInfo::withRegParm ( unsigned RegParm) const
inline

Definition at line 4677 of file TypeBase.h.

Referenced by clang::Sema::MergeFunctionDecl().

◆ FunctionType

friend class FunctionType
friend

Definition at line 4572 of file TypeBase.h.

References FunctionType.

Referenced by FunctionType.


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