Home
last modified time | relevance | path

Searched refs:funcType (Results 1 – 4 of 4) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp314 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
545 void RewriteObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
548 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
558 void RewriteObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
559 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
560 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2117 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2118 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2119 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2288 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
H A DRewriteModernObjC.cpp386 void RewriteBlocksInFunctionProtoType(QualType funcType, NamedDecl *D);
609 void RewriteModernObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType() argument
612 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
622 void RewriteModernObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl() argument
623 const PointerType *PT = funcType->getAs<PointerType>(); in CheckFunctionPointerDecl()
624 if (PT && PointerTypeTakesAnyBlockArguments(funcType)) in CheckFunctionPointerDecl()
2204 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2205 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2206 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2379 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp1204 if (const auto *funcType = dyn_cast<FunctionType>(splitType.Ty)) { in substObjCTypeArgs() local
1206 QualType returnType = funcType->getReturnType().substObjCTypeArgs( in substObjCTypeArgs()
1215 if (isa<FunctionNoProtoType>(funcType)) { in substObjCTypeArgs()
1218 == funcType->getReturnType().getAsOpaquePtr()) in substObjCTypeArgs()
1222 return ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in substObjCTypeArgs()
1225 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in substObjCTypeArgs()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp728 FunctionType *funcType = in constructFunction() local
738 funcType, GlobalValue::InternalLinkage, oldFunction->getAddressSpace(), in constructFunction()