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

123

/freebsd-10.3-release/contrib/llvm/tools/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);
166 for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(),
H A DMicrosoftMangle.cpp168 void mangleThrowSpecification(const FunctionProtoType *T);
306 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>();
1275 void MicrosoftCXXNameMangler::mangleType(const FunctionProtoType *T,
1293 const FunctionProtoType *Proto = cast<FunctionProtoType>(T);
1343 for (FunctionProtoType::arg_type_iterator Arg = Proto->arg_type_begin(),
1443 const FunctionProtoType *FT) {
1573 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) {
[all...]
H A DType.cpp1585 FunctionProtoType::FunctionProtoType(QualType result, ArrayRef<QualType> args, function in class:FunctionProtoType
1665 FunctionProtoType::NoexceptResult
1666 FunctionProtoType::getNoexceptSpec(const ASTContext &ctx) const {
1689 bool FunctionProtoType::isTemplateVariadic() const {
1697 void FunctionProtoType::Profile(llvm::FoldingSetNodeID &ID, QualType Result,
1751 void FunctionProtoType::Profile(llvm::FoldingSetNodeID &ID,
2205 const FunctionProtoType *FPT = cast<FunctionProtoType>(T);
2207 for (FunctionProtoType
[all...]
/freebsd-10.3-release/contrib/llvm/tools/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>();
148 const FunctionProtoType *T
[all...]
H A DSemaLambda.cpp279 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>();
777 FunctionProtoType::ExtProtoInfo EPI(Context.getDefaultCallingConvention(
1066 const FunctionProtoType *CallOpProto =
1067 CallOperator->getType()->getAs<FunctionProtoType>();
1068 const FunctionProtoType::ExtProtoInfo CallOpExtInfo =
1073 FunctionProtoType::ExtProtoInfo InvokerExtInfo = CallOpExtInfo;
1086 FunctionProtoType::ExtProtoInfo ConvExtInfo(
1240 const FunctionProtoType *Proto
1241 = CallOperator->getType()->getAs<FunctionProtoType>();
[all...]
H A DSemaTemplateDeduction.cpp1351 const FunctionProtoType *FunctionProtoArg =
1352 dyn_cast<FunctionProtoType>(Arg);
1356 const FunctionProtoType *FunctionProtoParam =
1357 cast<FunctionProtoType>(Param);
2573 const FunctionProtoType *Proto
2574 = Function->getType()->getAs<FunctionProtoType>();
3288 const FunctionProtoType *Proto
3289 = Function->getType()->getAs<FunctionProtoType>();
3509 const FunctionProtoType *FunctionTypeP =
3510 FunctionType->castAs<FunctionProtoType>();
[all...]
H A DSemaTemplateInstantiateDecl.cpp1164 const FunctionProtoType *OrigFunc
1165 = D->getType()->castAs<FunctionProtoType>();
1166 const FunctionProtoType *NewFunc
1167 = TInfo->getType()->castAs<FunctionProtoType>();
1171 FunctionProtoType::ExtProtoInfo NewEPI = NewFunc->getExtProtoInfo();
2920 const FunctionProtoType *OldProto =
2921 cast<FunctionProtoType>(OldProtoLoc.getType());
2994 const FunctionProtoType *Proto,
3106 const FunctionProtoType *NewProto
3107 = New->getType()->getAs<FunctionProtoType>();
[all...]
H A DSemaDeclCXX.cpp157 const FunctionProtoType *Proto
158 = Method->getType()->getAs<FunctionProtoType>();
193 FunctionProtoType::NoexceptResult NR =
195 assert(NR != FunctionProtoType::NR_NoNoexcept &&
197 assert(NR != FunctionProtoType::NR_Dependent &&
202 if (NR == FunctionProtoType::NR_Throw) {
215 for (FunctionProtoType::exception_iterator E = Proto->exception_begin(),
652 OldType->getAs<FunctionProtoType>(), Old->getLocation(),
653 NewType->getAs<FunctionProtoType>(), New->getLocation())) {
716 const FunctionProtoType *F
[all...]
H A DSemaOverload.cpp1011 const FunctionProtoType* OldType = cast<FunctionProtoType>(OldQType);
1012 const FunctionProtoType* NewType = cast<FunctionProtoType>(NewQType);
2278 const FunctionProtoType *FromFunctionType
2279 = FromPointeeType->getAs<FunctionProtoType>();
2280 const FunctionProtoType *ToFunctionType
2281 = ToPointeeType->getAs<FunctionProtoType>();
2426 const FunctionProtoType *FromFunctionType
2427 = FromPointeeType->getAs<FunctionProtoType>();
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenABITypes.cpp47 CodeGenABITypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty) {
58 const FunctionProtoType *FTP) {
H A DCodeGenTypes.h42 class FunctionProtoType;
204 const FunctionProtoType *type,
207 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty);
210 const FunctionProtoType *FTP);
H A DCodeGenTypes.cpp228 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
484 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
509 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
511 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0)));
H A DCGExprCXX.cpp56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>();
242 const FunctionProtoType *FPT =
243 MPT->getPointeeType()->castAs<FunctionProtoType>();
935 const FunctionProtoType *CalleeType,
995 const FunctionProtoType *FPT
996 = OperatorDelete->getType()->getAs<FunctionProtoType>();
1003 FunctionProtoType::arg_type_iterator AI = FPT->arg_type_begin();
1050 const FunctionProtoType *FPT
1051 = OperatorDelete->getType()->getAs<FunctionProtoType>();
[all...]
H A DCGCXXABI.cpp46 const FunctionProtoType *FPT =
47 MPT->getPointeeType()->getAs<FunctionProtoType>();
H A DCGVTables.cpp179 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
249 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
297 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>();
H A DCGCall.cpp63 static CanQual<FunctionProtoType> GetFormalType(const CXXMethodDecl *MD) {
65 .getAs<FunctionProtoType>();
91 CanQual<FunctionProtoType> FTP,
105 CanQual<FunctionProtoType> FTP) {
113 CanQual<FunctionProtoType> FTP) {
121 CodeGenTypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> FTP) {
160 const FunctionProtoType *FTP) {
170 FTP->getCanonicalTypeUnqualified().getAs<FunctionProtoType>());
182 CanQual<FunctionProtoType> prototype = GetFormalType(MD);
207 CanQual<FunctionProtoType> FT
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/CodeGen/
H A DCodeGenABITypes.h63 CanQual<FunctionProtoType> Ty);
67 const FunctionProtoType *FTP);
H A DCGFunctionInfo.h195 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype,
201 static RequiredArgs forPrototype(const FunctionProtoType *prototype) {
205 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) {
209 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype,
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp300 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
336 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
380 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
549 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>();
583 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>();
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp36 const FunctionProtoType *FT =
37 BPT->getPointeeType()->getAs<FunctionProtoType>();
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp628 if (const FunctionProtoType *FT = T->getAs<FunctionProtoType>()) {
631 for (FunctionProtoType::arg_type_iterator
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DCanonicalType.h556 struct CanProxyAdaptor<FunctionProtoType>
557 : public CanProxyBase<FunctionProtoType> {
568 typedef CanTypeIterator<FunctionProtoType::arg_type_iterator>
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp492 FunctionProtoType::ExtProtoInfo fpi;
548 if (const FunctionProtoType *fproto
549 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) {
550 for (FunctionProtoType::arg_type_iterator I = fproto->arg_type_begin(),
819 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)){
1158 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)) {
2148 const FunctionProtoType *proto = 0;
2159 proto = dyn_cast<FunctionProtoType>(funcTyp
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h111 class FunctionProtoType;
395 SmallVector<std::pair<CXXMethodDecl*, const FunctionProtoType*>, 2>
1061 /// unqualified type will always be a FunctionProtoType.
1066 const FunctionProtoType::ExtProtoInfo &EPI);
1087 const FunctionProtoType *ResolveExceptionSpec(SourceLocation Loc,
1088 const FunctionProtoType *FPT);
1093 const FunctionProtoType *Old, SourceLocation OldLoc,
1094 const FunctionProtoType *New, SourceLocation NewLoc);
1097 const FunctionProtoType *Old, SourceLocation OldLoc,
1098 const FunctionProtoType *Ne
[all...]

Completed in 358 milliseconds

123