Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DType.cpp1308 QualType VisitFunctionType(const FunctionType *funcType) { in VisitFunctionType()
1313 QualType returnType = funcType->getReturnType().substObjCTypeArgs( in VisitFunctionType()
1320 if (isa<FunctionNoProtoType>(funcType)) { in VisitFunctionType()
1323 funcType->getReturnType().getAsOpaquePtr()) in VisitFunctionType()
1324 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
1327 return Ctx.getFunctionNoProtoType(returnType, funcType->getExtInfo()); in VisitFunctionType()
1330 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in VisitFunctionType()
1373 return BaseType::VisitFunctionType(funcType); in VisitFunctionType()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp313 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()
2126 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2127 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2128 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2297 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
H A DRewriteModernObjC.cpp385 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()
2208 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteObjCQualifiedInterfaceTypes() local
2209 assert(funcType && "missing function type"); in RewriteObjCQualifiedInterfaceTypes()
2210 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2383 const FunctionType *funcType = FD->getType()->getAs<FunctionType>(); in RewriteBlockLiteralFunctionDecl() local
[all …]
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DDebugTypes.cpp664 TypeIndex funcType = in mergeTypeRecord() local
667 funcIdToType.push_back({funcId, funcType}); in mergeTypeRecord()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp861 FunctionType *funcType = in constructFunction() local
871 funcType, GlobalValue::InternalLinkage, oldFunction->getAddressSpace(), in constructFunction()