clang  3.9.0
Public Member Functions | Friends | List of all members
clang::FunctionType::ExtInfo Class Reference

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

#include <Type.h>

Public Member Functions

 ExtInfo (bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc, bool producesResult)
 
 ExtInfo ()
 
 ExtInfo (CallingConv CC)
 
bool getNoReturn () const
 
bool getProducesResult () 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 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 2904 of file Type.h.

Constructor & Destructor Documentation

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

Definition at line 2928 of file Type.h.

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

Definition at line 2943 of file Type.h.

Member Function Documentation

CallingConv clang::FunctionType::ExtInfo::getCC ( ) const
inline
bool clang::FunctionType::ExtInfo::getHasRegParm ( ) const
inline
bool clang::FunctionType::ExtInfo::getNoReturn ( ) const
inline
bool clang::FunctionType::ExtInfo::getProducesResult ( ) const
inline
unsigned clang::FunctionType::ExtInfo::getRegParm ( ) const
inline
bool clang::FunctionType::ExtInfo::operator!= ( ExtInfo  Other) const
inline

Definition at line 2959 of file Type.h.

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

Definition at line 2956 of file Type.h.

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

Definition at line 2990 of file Type.h.

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

ExtInfo clang::FunctionType::ExtInfo::withCallingConv ( CallingConv  cc) const
inline
ExtInfo clang::FunctionType::ExtInfo::withNoReturn ( bool  noReturn) const
inline
ExtInfo clang::FunctionType::ExtInfo::withProducesResult ( bool  producesResult) const
inline
ExtInfo clang::FunctionType::ExtInfo::withRegParm ( unsigned  RegParm) const
inline

Definition at line 2980 of file Type.h.

References ExtInfo().

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

Friends And Related Function Documentation

friend class FunctionType
friend

Definition at line 2923 of file Type.h.


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