clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::CodeGen::RequiredArgs Class Reference

#include <CGFunctionInfo.h>

List of all members.

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)
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)

Detailed Description

A class for recording the number of arguments that a function signature requires.

Definition at line 286 of file CGFunctionInfo.h.


Member Enumeration Documentation

Enumerator:
All 

Definition at line 291 of file CGFunctionInfo.h.


Constructor & Destructor Documentation

Definition at line 293 of file CGFunctionInfo.h.

Referenced by forPrototypePlus(), and getFromOpaqueData().

Definition at line 294 of file CGFunctionInfo.h.


Member Function Documentation

static RequiredArgs clang::CodeGen::RequiredArgs::forPrototype ( const FunctionProtoType prototype) [inline, static]

Definition at line 307 of file CGFunctionInfo.h.

References forPrototypePlus().

Referenced by forPrototype().

Definition at line 311 of file CGFunctionInfo.h.

References forPrototype(), and clang::CanQual< T >::getTypePtr().

static RequiredArgs clang::CodeGen::RequiredArgs::forPrototypePlus ( const FunctionProtoType prototype,
unsigned  additional 
) [inline, static]
static RequiredArgs clang::CodeGen::RequiredArgs::forPrototypePlus ( CanQual< FunctionProtoType prototype,
unsigned  additional 
) [inline, static]

Definition at line 315 of file CGFunctionInfo.h.

References forPrototypePlus(), and clang::CanQual< T >::getTypePtr().

Definition at line 327 of file CGFunctionInfo.h.

References All, and RequiredArgs().

Definition at line 326 of file CGFunctionInfo.h.

Referenced by clang::CodeGen::CGFunctionInfo::Profile().


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