A class for recording the number of arguments that a function signature requires. More...
#include "clang/CodeGen/CGFunctionInfo.h"
A class for recording the number of arguments that a function signature requires.
Definition at line 497 of file CGFunctionInfo.h.
◆ All_t ◆ RequiredArgs() [1/2] ◆ RequiredArgs() [2/2] ◆ allowsOptionalArgs() bool clang::CodeGen::RequiredArgs::allowsOptionalArgs ( ) const inline ◆ forPrototype() [1/2] ◆ forPrototype() [2/2] ◆ forPrototypePlus() [1/2] ◆ forPrototypePlus() [2/2]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 514 of file CGFunctionInfo.h.
References All, 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(), forPrototype(), and forPrototypePlus().
◆ getFromOpaqueData() ◆ getNumRequiredArgs() unsigned clang::CodeGen::RequiredArgs::getNumRequiredArgs ( ) const inline ◆ getOpaqueData() unsigned clang::CodeGen::RequiredArgs::getOpaqueData ( ) const inline ◆ isRequiredArg() bool clang::CodeGen::RequiredArgs::isRequiredArg ( unsigned argIdx ) const inlineReturn true if the argument at a given index is required.
Definition at line 548 of file CGFunctionInfo.h.
The documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4