Home
last modified time | relevance | path

Searched refs:isFunctionPointerType (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/server/
H A DRPCServerSourceEmitter.cpp125 if (!ParamType->isFunctionPointerType()) { in EmitStorageForOneParameter()
130 assert(ParamType->isFunctionPointerType() && "Unhandled pointer type"); in EmitStorageForOneParameter()
216 !Iter->Type->isFunctionPointerType() && in CreateMethodCall()
225 } else if (Iter->Type->isFunctionPointerType()) { in CreateMethodCall()
303 if (Iter->Type->isFunctionPointerType() || in EmitEncodesForMutableParameters()
421 if (Param.Type->isFunctionPointerType()) in EmitCallbackFunction()
426 assert(FuncPointerParam.Type->isFunctionPointerType() && in EmitCallbackFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp83 if (T->isFunctionPointerType() || T->isFunctionReferenceType()) in getFunctionPointerAuthInfo()
475 FunctionType->isFunctionPointerType()); in getFunctionPointer()
664 if (!CurAuthInfo && DestType->isFunctionPointerType()) in authPointerToPointerCast()
667 if (!NewAuthInfo && SourceType->isFunctionPointerType()) in authPointerToPointerCast()
687 if (!CurAuthInfo && DestType->isFunctionPointerType()) { in authPointerToPointerCast()
695 if (!NewAuthInfo && SourceType->isFunctionPointerType()) { in authPointerToPointerCast()
H A DCGStmt.cpp1587 if (calleeQualType->isFunctionPointerType() || in isSwiftAsyncCallee()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DFixitUtil.cpp28 assert(Ty->isPointerType() && !Ty->isFunctionPointerType() && in getPointeeTypeText()
109 assert(Ty->isPointerType() && !Ty->isFunctionPointerType() && in getPointee2TypeText()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DLowLevelHelpers.cpp57 if (QT->isFunctionPointerType()) in matchEachArgumentWithParamTypeImpl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1170 if (((SrcType->isBlockPointerType() || SrcType->isFunctionPointerType()) && in checkCastFunctionType()
1171 DestType->isFunctionPointerType()) || in checkCastFunctionType()
2036 if (DestType->isFunctionPointerType() || in TryConstCast()
2150 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
2583 if (SrcType->isFunctionPointerType()) { in TryReinterpretCast()
2584 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
2603 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
H A DSemaX86.cpp1041 if (VD && VD->getType()->isFunctionPointerType()) in handleForceAlignArgPointerAttr()
1045 if (TD && (TD->getUnderlyingType()->isFunctionPointerType() || in handleForceAlignArgPointerAttr()
H A DSemaDeclAttr.cpp2060 !VD->getType()->isFunctionPointerType())) { in handleAnalyzerNoReturnAttr()
2872 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) { in handleSentinelAttr()
2873 const FunctionType *FT = Ty->isFunctionPointerType() in handleSentinelAttr()
2879 int m = Ty->isFunctionPointerType() ? 0 : 1; in handleSentinelAttr()
4190 if (!CalleeType || !CalleeType->isFunctionPointerType()) { in handleCallbackAttr()
4349 return T.isFunctionPointerType() || T.isBlockPointerType(); in isFunctionLike()
6663 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr()
H A DSemaExpr.cpp4190 if (!T->isFunctionType() && !T->isFunctionPointerType() && in checkPtrAuthTypeDiscriminatorOperandType()
6556 T->isMemberFunctionPointerType() || T->isFunctionPointerType() || in MayBeFunctionType()
9074 RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType() && in checkPointerTypesForAssignment()
9135 if (RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType()) in checkPointerTypesForAssignment()
12493 if (IsOrdered && LHSType->isFunctionPointerType() && in CheckCompareOperands()
12494 RHSType->isFunctionPointerType()) { in CheckCompareOperands()
12518 ((LHSType->isFunctionPointerType() && RHSType->isVoidPointerType()) || in CheckCompareOperands()
12519 (RHSType->isFunctionPointerType() && LHSType->isVoidPointerType()))) { in CheckCompareOperands()
16950 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
H A DSemaChecking.cpp334 SrcTy->isFunctionPointerType()) { in BuiltinAlignment()
752 if (!FnArgType->isFunctionType() && !FnArgType->isFunctionPointerType() && in BuiltinDumpStruct()
1893 if (ParamTy->isFunctionPointerType()) in BuiltinLaunder()
3833 if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType() && in CheckPointerCall()
10244 !Cast->getSubExpr()->getType()->isFunctionPointerType()) in CheckFreeArgumentsCast()
/freebsd/contrib/llvm-project/lldb/tools/lldb-rpc/lldb-rpc-gen/
H A Dlldb-rpc-gen.cpp190 if ((*Iter)->getType()->isFunctionPointerType()) { in GetMethodSupportLevel()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1220 if (Ty->isFunctionPointerType()) in getFunctionType()
1232 bool Decl::isFunctionPointerType() const { in isFunctionPointerType() function in Decl
1241 return Ty.getCanonicalType()->isFunctionPointerType(); in isFunctionPointerType()
H A DCommentSema.cpp836 return QT->isFunctionPointerType(); in isFunctionPointerVarDecl()
H A DType.cpp2949 return getTypePtr()->isFunctionPointerType() && in isWebAssemblyFuncrefType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h291 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFunctionPointerType)
H A DDeclBase.h1273 bool isFunctionPointerType() const;
H A DType.h2581 bool isFunctionPointerType() const;
8424 inline bool Type::isFunctionPointerType() const {
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp81 T->isFunctionPointerType() || in isCallback()
95 if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType()) in isCallback()
H A DSValBuilder.cpp811 OriginalTy->isFunctionPointerType()) in VisitMemRegionVal()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp232 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleTopLevelDeclInObjCContainer()
1209 else if (T->isFunctionPointerType() || in RewriteTypeIntoString()
4490 if (T->isFunctionPointerType()) { in convertObjCTypeToCStyleType()
5112 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) in RewriteByRefVar()
5555 else if (ND->getType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5572 else if (TD->getUnderlyingType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5714 else if (VD->getType()->isFunctionPointerType()) { in HandleDeclInMainFile()
5750 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleDeclInMainFile()
H A DRewriteObjC.cpp1042 else if (T->isFunctionPointerType() || in RewriteTypeIntoString()
4254 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) in RewriteByRefVar()
4674 else if (ND->getType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
4691 else if (TD->getUnderlyingType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
4829 else if (VD->getType()->isFunctionPointerType()) { in HandleDeclInMainFile()
4865 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleDeclInMainFile()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp327 if (T->isPointerType() && !T->isFunctionPointerType()) { in getFragmentsForType()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp1214 assert(calleeTy->isFunctionPointerType() && in emitCall()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3213 auto isFunctionPointerType = [](clang::QualType qual_type) { in IsFunctionPointerType() local
3214 return qual_type->isFunctionPointerType(); in IsFunctionPointerType()
3217 return IsTypeImpl(type, isFunctionPointerType); in IsFunctionPointerType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp2335 if (SymBase->getType()->isFunctionPointerType()) { in FreeMemAux()

12