clang 8.0.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 "clang/AST/Type.h"`

## Public Member Functions
| ExtInfo (bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc, bool producesResult, bool noCallerSavedRegs, bool NoCfCheck)
| ExtInfo ()=default
| ExtInfo (CallingConv CC)
bool | getNoReturn () const
bool | getProducesResult () 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 | 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 3466 of file Type.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
| ) |  |
| inline

Definition at line 3494 of file Type.h.

## ◆ ExtInfo() [2/3]

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

## ◆ ExtInfo() [3/3]

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

Definition at line 3510 of file Type.h.

## Member Function Documentation

## ◆ getCC()

CallingConv clang::FunctionType::ExtInfo::getCC | ( |  | ) | const
| inline

Definition at line 3525 of file Type.h.

Referenced by clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), clang::CodeGen::CGFunctionInfo::create(), clang::getParameterABISpelling(), isTypeSubstitutable(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getHasRegParm()

bool clang::FunctionType::ExtInfo::getHasRegParm | ( |  | ) | const
| inline

Definition at line 3516 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getNoCallerSavedRegs()

bool clang::FunctionType::ExtInfo::getNoCallerSavedRegs | ( |  | ) | const
| inline

Definition at line 3514 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::getParameterABISpelling(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getNoCfCheck()

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

Definition at line 3515 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::getParameterABISpelling(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getNoReturn()

bool clang::FunctionType::ExtInfo::getNoReturn | ( |  | ) | const
| inline

Definition at line 3512 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::FindCompositePointerType(), clang::getParameterABISpelling(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getProducesResult()

bool clang::FunctionType::ExtInfo::getProducesResult | ( |  | ) | const
| inline

Definition at line 3513 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::getParameterABISpelling(), isTypeSubstitutable(), clang::Sema::MaybeBindToTemporary(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ getRegParm()

unsigned clang::FunctionType::ExtInfo::getRegParm | ( |  | ) | const
| inline

Definition at line 3518 of file Type.h.

Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::getParameterABISpelling(), clang::ASTContext::mergeFunctionTypes(), clang::CodeGen::CGFunctionInfo::Profile(), and clang::ASTTypeWriter::VisitFunctionType().

## ◆ operator!=()

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

Definition at line 3530 of file Type.h.

## ◆ operator==()

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

Definition at line 3527 of file Type.h.

## ◆ Profile()

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

Definition at line 3575 of file Type.h.

Referenced by clang::FunctionProtoType::isTemplateVariadic(), and clang::FunctionNoProtoType::Profile().

## ◆ withCallingConv()

ExtInfo clang::FunctionType::ExtInfo::withCallingConv | ( | CallingConv | cc | ) | const
| inline

Definition at line 3571 of file Type.h.

Referenced by clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), getImplicitMethodEPI(), and LookupDirect().

## ◆ withNoCallerSavedRegs()

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

Definition at line 3551 of file Type.h.

## ◆ withNoCfCheck()

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

Definition at line 3558 of file Type.h.

## ◆ withNoReturn()

ExtInfo clang::FunctionType::ExtInfo::withNoReturn | ( | bool | noReturn | ) | const
| inline

Definition at line 3537 of file Type.h.

Referenced by clang::Sema::FindCompositePointerType(), clang::ASTContext::GetBuiltinType(), and clang::ASTContext::mergeFunctionTypes().

## ◆ withProducesResult()

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

Definition at line 3544 of file Type.h.

Referenced by clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature().

## ◆ withRegParm()

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

Definition at line 3565 of file Type.h.

## Friends And Related Function Documentation

## ◆ FunctionType

friend class FunctionType
| friend

Definition at line 3467 of file Type.h.

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

- include/clang/AST/Type.h