clang API Documentation
#include <Type.h>
Public Member Functions | |
| ExtInfo (bool noReturn, bool hasRegParm, unsigned regParm, CallingConv cc, bool producesResult) | |
| ExtInfo () | |
| ExtInfo (CallingConv CC) | |
| bool | getNoReturn () const |
| bool | getProducesResult () 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 | withRegParm (unsigned RegParm) const |
| ExtInfo | withCallingConv (CallingConv cc) const |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
Friends | |
| class | FunctionType |
ExtInfo - 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.
| clang::FunctionType::ExtInfo::ExtInfo | ( | bool | noReturn, |
| bool | hasRegParm, | ||
| unsigned | regParm, | ||
| CallingConv | cc, | ||
| bool | producesResult | ||
| ) | [inline] |
| clang::FunctionType::ExtInfo::ExtInfo | ( | CallingConv | CC | ) | [inline] |
| CallingConv clang::FunctionType::ExtInfo::getCC | ( | ) | const [inline] |
Definition at line 2731 of file Type.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::CodeGen::CodeGenTypes::arrangeLLVMFunctionInfo(), clang::CodeGen::CGFunctionInfo::create(), clang::ASTContext::getFunctionNoProtoType(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
| bool clang::FunctionType::ExtInfo::getHasRegParm | ( | ) | const [inline] |
Definition at line 2724 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
| bool clang::FunctionType::ExtInfo::getNoReturn | ( | ) | const [inline] |
Definition at line 2722 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
| bool clang::FunctionType::ExtInfo::getProducesResult | ( | ) | const [inline] |
Definition at line 2723 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::MaybeBindToTemporary(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
| unsigned clang::FunctionType::ExtInfo::getRegParm | ( | ) | const [inline] |
Definition at line 2725 of file Type.h.
Referenced by clang::CodeGen::CGFunctionInfo::create(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::CodeGen::CGFunctionInfo::Profile().
| void clang::FunctionType::ExtInfo::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [inline] |
Definition at line 2767 of file Type.h.
Referenced by clang::FunctionNoProtoType::Profile().
| ExtInfo clang::FunctionType::ExtInfo::withCallingConv | ( | CallingConv | cc | ) | const [inline] |
Definition at line 2763 of file Type.h.
Referenced by addFunctionPointerConversion(), clang::Sema::adjustCCAndNoReturn(), clang::Sema::adjustMemberFunctionCC(), clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), clang::ASTContext::getFunctionNoProtoType(), getImplicitMethodEPI(), LookupDirect(), and clang::Sema::MergeFunctionDecl().
| ExtInfo clang::FunctionType::ExtInfo::withNoReturn | ( | bool | noReturn | ) | const [inline] |
Definition at line 2743 of file Type.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), clang::Sema::adjustCCAndNoReturn(), clang::ASTContext::GetBuiltinType(), clang::Sema::MergeFunctionDecl(), and clang::ASTContext::mergeFunctionTypes().
| ExtInfo clang::FunctionType::ExtInfo::withProducesResult | ( | bool | producesResult | ) | const [inline] |
Definition at line 2750 of file Type.h.
Referenced by clang::CodeGen::CodeGenTypes::arrangeObjCMessageSendSignature(), and clang::Sema::MergeFunctionDecl().
| ExtInfo clang::FunctionType::ExtInfo::withRegParm | ( | unsigned | RegParm | ) | const [inline] |
Definition at line 2757 of file Type.h.
Referenced by clang::Sema::MergeFunctionDecl().
friend class FunctionType [friend] |