Searched refs:FunctionProtoType (Results 1 - 25 of 81) sorted by relevance

1234

/external/clang/lib/AST/
H A DMangleNumberingContext.cpp23 const FunctionProtoType *Proto
24 = CallOperator->getType()->getAs<FunctionProtoType>();
28 FunctionProtoType::ExtProtoInfo());
30 return ++ManglingNumbers[Key->castAs<FunctionProtoType>()];
H A DMangle.cpp155 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT);
H A DASTContext.cpp2088 const FunctionProtoType *FPT = cast<FunctionProtoType>(T);
2089 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2101 const FunctionProtoType *FPT = FD->getType()->castAs<FunctionProtoType>();
2102 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2810 FunctionProtoType::ExtInfo newInfo = Info.withCallingConv(CallConv);
2827 const FunctionProtoType::ExtProtoInfo &EPI) const {
2833 FunctionProtoType::Profile(ID, ResultTy, ArgArray.begin(), NumArgs, EPI,
2837 if (FunctionProtoType *FT
[all...]
H A DMicrosoftMangle.cpp278 void mangleThrowSpecification(const FunctionProtoType *T);
380 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>();
1516 void MicrosoftCXXNameMangler::mangleType(const FunctionProtoType *T,
1534 const FunctionProtoType *Proto = cast<FunctionProtoType>(T);
1692 const FunctionProtoType *FT) {
1820 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) {
1965 mangleFunctionType(pointee->castAs<FunctionProtoType>());
[all...]
H A DType.cpp1591 FunctionProtoType::FunctionProtoType(QualType result, ArrayRef<QualType> params, function in class:FunctionProtoType
1670 FunctionProtoType::NoexceptResult
1671 FunctionProtoType::getNoexceptSpec(const ASTContext &ctx) const {
1694 bool FunctionProtoType::isNothrow(const ASTContext &Ctx,
1719 bool FunctionProtoType::isTemplateVariadic() const {
1727 void FunctionProtoType::Profile(llvm::FoldingSetNodeID &ID, QualType Result,
1781 void FunctionProtoType::Profile(llvm::FoldingSetNodeID &ID,
2233 const FunctionProtoType *FPT = cast<FunctionProtoType>(
[all...]
/external/clang/lib/Sema/
H A DSemaExceptionSpec.cpp27 static const FunctionProtoType *GetUnderlyingFunction(QualType T)
35 return T->getAs<FunctionProtoType>();
106 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>();
113 const FunctionProtoType *
114 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) {
119 const FunctionProtoType *SourceFPT =
120 SourceDecl->getType()->castAs<FunctionProtoType>();
132 return SourceDecl->getType()->castAs<FunctionProtoType>();
136 const FunctionProtoType
[all...]
H A DSemaLambda.cpp365 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>();
865 FunctionProtoType::ExtProtoInfo EPI(Context.getDefaultCallingConvention(
1163 const FunctionProtoType *CallOpProto =
1164 CallOperator->getType()->getAs<FunctionProtoType>();
1165 const FunctionProtoType::ExtProtoInfo CallOpExtInfo =
1170 FunctionProtoType::ExtProtoInfo InvokerExtInfo = CallOpExtInfo;
1184 FunctionProtoType::ExtProtoInfo ConvExtInfo(
1338 const FunctionProtoType *Proto
1339 = CallOperator->getType()->getAs<FunctionProtoType>();
[all...]
H A DSemaTemplateDeduction.cpp1411 const FunctionProtoType *FunctionProtoArg =
1412 dyn_cast<FunctionProtoType>(Arg);
1416 const FunctionProtoType *FunctionProtoParam =
1417 cast<FunctionProtoType>(Param);
2589 const FunctionProtoType *Proto
2590 = Function->getType()->getAs<FunctionProtoType>();
3314 const FunctionProtoType *Proto
3315 = Function->getType()->getAs<FunctionProtoType>();
3502 const FunctionProtoType *FunctionTypeP =
3503 FunctionType->castAs<FunctionProtoType>();
[all...]
H A DSemaTemplateInstantiateDecl.cpp1206 const FunctionProtoType *OrigFunc
1207 = D->getType()->castAs<FunctionProtoType>();
1208 const FunctionProtoType *NewFunc
1209 = TInfo->getType()->castAs<FunctionProtoType>();
1213 FunctionProtoType::ExtProtoInfo NewEPI = NewFunc->getExtProtoInfo();
2937 const FunctionProtoType *OldProto =
2938 cast<FunctionProtoType>(OldProtoLoc.getType());
3023 const FunctionProtoType *Proto,
3134 FunctionProtoType::ExtProtoInfo EPI;
3145 const FunctionProtoType *Prot
[all...]
H A DSemaOverload.cpp1004 const FunctionProtoType *OldType = cast<FunctionProtoType>(OldQType);
1005 const FunctionProtoType *NewType = cast<FunctionProtoType>(NewQType);
2287 const FunctionProtoType *FromFunctionType
2288 = FromPointeeType->getAs<FunctionProtoType>();
2289 const FunctionProtoType *ToFunctionType
2290 = ToPointeeType->getAs<FunctionProtoType>();
2435 const FunctionProtoType *FromFunctionType
2436 = FromPointeeType->getAs<FunctionProtoType>();
[all...]
/external/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h60 CanQual<FunctionProtoType> Ty);
64 const FunctionProtoType *FTP);
H A DCGFunctionInfo.h288 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype,
294 static RequiredArgs forPrototype(const FunctionProtoType *prototype) {
298 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) {
302 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype,
/external/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp47 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty) {
58 const FunctionProtoType *FTP) {
H A DCodeGenTypes.h42 class FunctionProtoType;
208 const FunctionProtoType *type,
211 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty);
214 const FunctionProtoType *FTP);
H A DCodeGenTypes.cpp222 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
482 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
507 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
509 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0)));
H A DCGExprCXX.cpp56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>();
244 const FunctionProtoType *FPT =
245 MPT->getPointeeType()->castAs<FunctionProtoType>();
1001 const FunctionProtoType *CalleeType,
1032 RValue CodeGenFunction::EmitBuiltinNewDeleteCall(const FunctionProtoType *Type,
1079 const FunctionProtoType *FPT
1080 = OperatorDelete->getType()->getAs<FunctionProtoType>();
1087 FunctionProtoType::param_type_iterator AI = FPT->param_type_begin();
1134 const FunctionProtoType *FP
[all...]
H A DCGCXXABI.cpp80 const FunctionProtoType *FPT =
81 MPT->getPointeeType()->getAs<FunctionProtoType>();
H A DCGVTables.cpp131 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
201 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
252 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
H A DCGCall.cpp63 static CanQual<FunctionProtoType> GetFormalType(const CXXMethodDecl *MD) {
65 .getAs<FunctionProtoType>();
93 CanQual<FunctionProtoType> FTP,
108 CanQual<FunctionProtoType> FTP) {
116 CanQual<FunctionProtoType> FTP) {
124 CodeGenTypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> FTP) {
186 const FunctionProtoType *FTP) {
196 FTP->getCanonicalTypeUnqualified().getAs<FunctionProtoType>());
208 CanQual<FunctionProtoType> prototype = GetFormalType(MD);
231 CanQual<FunctionProtoType> FT
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp310 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
346 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
390 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
559 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
593 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>();
[all...]
/external/clang/tools/libclang/
H A DCXType.cpp501 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>())
541 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
557 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) {
823 const FunctionProtoType *FD = QT->getAs<FunctionProtoType>();
/external/clang/include/clang/AST/
H A DCanonicalType.h555 struct CanProxyAdaptor<FunctionProtoType>
556 : public CanProxyBase<FunctionProtoType> {
567 typedef CanTypeIterator<FunctionProtoType::param_type_iterator>
/external/clang/lib/Analysis/
H A DBodyFarm.cpp36 const FunctionProtoType *FT =
37 BPT->getPointeeType()->getAs<FunctionProtoType>();
/external/lldb/source/API/
H A DSBType.cpp235 const FunctionProtoType* func = dyn_cast<FunctionProtoType>(qual_type.getTypePtr());
/external/clang/include/clang/Sema/
H A DSema.h114 class FunctionProtoType;
467 SmallVector<std::pair<CXXMethodDecl*, const FunctionProtoType*>, 2>
1150 /// unqualified type will always be a FunctionProtoType.
1155 const FunctionProtoType::ExtProtoInfo &EPI);
1177 const FunctionProtoType *ResolveExceptionSpec(SourceLocation Loc,
1178 const FunctionProtoType *FPT);
1180 const FunctionProtoType::ExtProtoInfo &EPI);
1185 const FunctionProtoType *Old, SourceLocation OldLoc,
1186 const FunctionProtoType *New, SourceLocation NewLoc);
1189 const FunctionProtoType *Ol
[all...]

Completed in 8053 milliseconds

1234