Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGPointerAuth.cpp83 if (T->isFunctionPointerType() || T->isFunctionReferenceType()) in getFunctionPointerAuthInfo()
343 FunctionType->isFunctionPointerType()); in getFunctionPointer()
527 if (!CurAuthInfo && DestType->isFunctionPointerType()) in authPointerToPointerCast()
530 if (!NewAuthInfo && SourceType->isFunctionPointerType()) in authPointerToPointerCast()
550 if (!CurAuthInfo && DestType->isFunctionPointerType()) { in authPointerToPointerCast()
558 if (!NewAuthInfo && SourceType->isFunctionPointerType()) { in authPointerToPointerCast()
H A DCGStmt.cpp1444 if (calleeQualType->isFunctionPointerType() || in isSwiftAsyncCallee()
H A DCGExpr.cpp5814 assert(CalleeType->isFunctionPointerType() && in EmitCall()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp175 if (T->isFunctionPointerType() || T->isFunctionReferenceType() || in classify()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1120 if (((SrcType->isBlockPointerType() || SrcType->isFunctionPointerType()) && in checkCastFunctionType()
1121 DestType->isFunctionPointerType()) || in checkCastFunctionType()
2009 if (DestType->isFunctionPointerType() || in TryConstCast()
2118 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
2552 if (SrcType->isFunctionPointerType()) { in TryReinterpretCast()
2553 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
2572 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
H A DSemaX86.cpp954 if (VD && VD->getType()->isFunctionPointerType()) in handleForceAlignArgPointerAttr()
958 if (TD && (TD->getUnderlyingType()->isFunctionPointerType() || in handleForceAlignArgPointerAttr()
H A DSemaDeclAttr.cpp1891 !VD->getType()->isFunctionPointerType())) { in handleAnalyzerNoReturnAttr()
2666 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) { in handleSentinelAttr()
2667 const FunctionType *FT = Ty->isFunctionPointerType() in handleSentinelAttr()
2673 int m = Ty->isFunctionPointerType() ? 0 : 1; in handleSentinelAttr()
3702 if (!CalleeType || !CalleeType->isFunctionPointerType()) { in handleCallbackAttr()
3751 return T.isFunctionPointerType() || T.isBlockPointerType(); in isFunctionLike()
5920 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr()
H A DSemaExpr.cpp4126 if (!T->isFunctionType() && !T->isFunctionPointerType() && in checkPtrAuthTypeDiscriminatorOperandType()
8917 RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType() && in checkPointerTypesForAssignment()
8977 if (RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType()) in checkPointerTypesForAssignment()
12146 if (IsOrdered && LHSType->isFunctionPointerType() && in CheckCompareOperands()
12147 RHSType->isFunctionPointerType()) { in CheckCompareOperands()
12171 ((LHSType->isFunctionPointerType() && RHSType->isVoidPointerType()) || in CheckCompareOperands()
12172 (RHSType->isFunctionPointerType() && LHSType->isVoidPointerType()))) { in CheckCompareOperands()
16579 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
H A DSemaChecking.cpp336 SrcTy->isFunctionPointerType()) { in BuiltinAlignment()
754 if (!FnArgType->isFunctionType() && !FnArgType->isFunctionPointerType() && in BuiltinDumpStruct()
1799 if (ParamTy->isFunctionPointerType()) in BuiltinLaunder()
3452 if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType() && in CheckPointerCall()
9074 !Cast->getSubExpr()->getType()->isFunctionPointerType()) in CheckFreeArgumentsCast()
H A DSemaDecl.cpp7257 if (NR->isFunctionPointerType() || NR->isMemberFunctionPointerType() || in diagnoseOpenCLTypes()
7844 if (R->isFunctionPointerType()) in ActOnVariableDeclarator()
15135 !(T->isFunctionPointerType() && in CheckParameter()
H A DSemaTemplateDeduction.cpp4058 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1190 if (Ty->isFunctionPointerType()) in getFunctionType()
1200 bool Decl::isFunctionPointerType() const { in isFunctionPointerType() function in Decl
1209 return Ty.getCanonicalType()->isFunctionPointerType(); in isFunctionPointerType()
H A DType.cpp2846 return getTypePtr()->isFunctionPointerType() && in isWebAssemblyFuncrefType()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h290 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFunctionPointerType)
H A DDeclBase.h1262 bool isFunctionPointerType() const;
H A DType.h2521 bool isFunctionPointerType() const;
8035 inline bool Type::isFunctionPointerType() const {
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp82 T->isFunctionPointerType() || in isCallback()
96 if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType()) in isCallback()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp233 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleTopLevelDeclInObjCContainer()
1210 else if (T->isFunctionPointerType() || in RewriteTypeIntoString()
4506 if (T->isFunctionPointerType()) { in convertObjCTypeToCStyleType()
5128 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) in RewriteByRefVar()
5589 else if (ND->getType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5606 else if (TD->getUnderlyingType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5748 else if (VD->getType()->isFunctionPointerType()) { in HandleDeclInMainFile()
5784 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleDeclInMainFile()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp531 if (RT->isBlockPointerType() || RT->isFunctionPointerType()) in rewriteToObjCProperty()
1047 T->isBlockPointerType() || T->isFunctionPointerType() || in TypeIsInnerPointer()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp321 if (T->isPointerType() && !T->isFunctionPointerType()) in getFragmentsForType()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1860 assert(Ty->isPointerType() && !Ty->isFunctionPointerType() && in getPointeeTypeText()
H A DCFG.cpp2681 if (Ty->isFunctionPointerType() || Ty->isBlockPointerType()) in CanThrow()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5162 if (QT->isFunctionPointerType()) in AST_POLYMORPHIC_MATCHER_P2()
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3170 auto isFunctionPointerType = [](clang::QualType qual_type) { in IsFunctionPointerType() local
3171 return qual_type->isFunctionPointerType(); in IsFunctionPointerType()
3174 return IsTypeImpl(type, isFunctionPointerType); in IsFunctionPointerType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp2083 if (SymBase->getType()->isFunctionPointerType()) { in FreeMemAux()

12