clang
10.0.0svn
|
A class for recording the number of arguments that a function signature requires. More...
#include "clang/CodeGen/CGFunctionInfo.h"
Public Types | |
enum | All_t { All } |
Public Member Functions | |
RequiredArgs (All_t _) | |
RequiredArgs (unsigned n) | |
bool | allowsOptionalArgs () const |
unsigned | getNumRequiredArgs () const |
unsigned | getOpaqueData () const |
Static Public Member Functions | |
static RequiredArgs | forPrototypePlus (const FunctionProtoType *prototype, unsigned additional) |
Compute the arguments required by the given formal prototype, given that there may be some additional, non-formal arguments in play. More... | |
static RequiredArgs | forPrototypePlus (CanQual< FunctionProtoType > prototype, unsigned additional) |
static RequiredArgs | forPrototype (const FunctionProtoType *prototype) |
static RequiredArgs | forPrototype (CanQual< FunctionProtoType > prototype) |
static RequiredArgs | getFromOpaqueData (unsigned value) |
A class for recording the number of arguments that a function signature requires.
Definition at line 411 of file CGFunctionInfo.h.
Enumerator | |
---|---|
All |
Definition at line 416 of file CGFunctionInfo.h.
|
inline |
Definition at line 418 of file CGFunctionInfo.h.
|
inlineexplicit |
Definition at line 419 of file CGFunctionInfo.h.
|
inline |
Definition at line 455 of file CGFunctionInfo.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeCall(), clang::CodeGen::CGFunctionInfo::create(), and clang::CodeGen::CGFunctionInfo::isVariadic().
|
inlinestatic |
Definition at line 447 of file CGFunctionInfo.h.
|
inlinestatic |
Definition at line 451 of file CGFunctionInfo.h.
References clang::CanQual< T >::getTypePtr().
|
inlinestatic |
Compute the arguments required by the given formal prototype, given that there may be some additional, non-formal arguments in play.
If FD is not null, this will consider pass_object_size params in FD.
Definition at line 428 of file CGFunctionInfo.h.
References clang::FunctionProtoType::getExtParameterInfos(), clang::FunctionProtoType::getNumParams(), clang::FunctionProtoType::hasExtParameterInfos(), and clang::FunctionProtoType::isVariadic().
Referenced by clang::CodeGen::CodeGenTypes::arrangeBlockFunctionDeclaration(), clang::CodeGen::CodeGenTypes::arrangeCXXConstructorCall(), arrangeFreeFunctionLikeCall(), arrangeLLVMFunctionInfo(), commonEmitCXXMemberOrOperatorCall(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), and clang::CodeGen::CodeGenFunction::EmitCXXMemberPointerCallExpr().
|
inlinestatic |
Definition at line 442 of file CGFunctionInfo.h.
References clang::CanQual< T >::getTypePtr().
|
inlinestatic |
Definition at line 462 of file CGFunctionInfo.h.
|
inline |
Definition at line 456 of file CGFunctionInfo.h.
Referenced by clang::CodeGen::CGFunctionInfo::create().
|
inline |
Definition at line 461 of file CGFunctionInfo.h.
Referenced by clang::CodeGen::CGFunctionInfo::Profile().