|
clang
3.8.0
|
A class for recording the number of arguments that a function signature requires. More...
#include <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 | forPrototype (const FunctionProtoType *prototype) |
| static RequiredArgs | forPrototype (CanQual< FunctionProtoType > prototype) |
| static RequiredArgs | forPrototypePlus (CanQual< FunctionProtoType > prototype, unsigned additional) |
| static RequiredArgs | getFromOpaqueData (unsigned value) |
A class for recording the number of arguments that a function signature requires.
Definition at line 287 of file CGFunctionInfo.h.
| Enumerator | |
|---|---|
| All | |
Definition at line 292 of file CGFunctionInfo.h.
|
inline |
Definition at line 294 of file CGFunctionInfo.h.
Referenced by forPrototypePlus(), and getFromOpaqueData().
|
inlineexplicit |
Definition at line 295 of file CGFunctionInfo.h.
|
inline |
Definition at line 321 of file CGFunctionInfo.h.
Referenced by getNumRequiredArgs(), and clang::CodeGen::CGFunctionInfo::isVariadic().
|
inlinestatic |
Definition at line 308 of file CGFunctionInfo.h.
References forPrototypePlus().
Referenced by forPrototype().
|
inlinestatic |
Definition at line 312 of file CGFunctionInfo.h.
References forPrototype(), and 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.
Definition at line 302 of file CGFunctionInfo.h.
References All, clang::FunctionProtoType::getNumParams(), clang::FunctionProtoType::isVariadic(), and RequiredArgs().
Referenced by clang::CodeGen::CodeGenTypes::arrangeCXXConstructorCall(), arrangeLLVMFunctionInfo(), commonEmitCXXMemberOrOperatorCall(), clang::CodeGen::CodeGenFunction::EmitCallAndReturnForThunk(), clang::CodeGen::CodeGenFunction::EmitCXXMemberPointerCallExpr(), forPrototype(), and forPrototypePlus().
|
inlinestatic |
Definition at line 316 of file CGFunctionInfo.h.
References forPrototypePlus(), and clang::CanQual< T >::getTypePtr().
|
inlinestatic |
Definition at line 328 of file CGFunctionInfo.h.
References All, and RequiredArgs().
|
inline |
Definition at line 322 of file CGFunctionInfo.h.
References allowsOptionalArgs().
Referenced by clang::CodeGen::CGFunctionInfo::getNumRequiredArgs().
|
inline |
Definition at line 327 of file CGFunctionInfo.h.
Referenced by clang::CodeGen::CGFunctionInfo::Profile().
1.8.6