| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGPointerAuth.cpp | 83 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 D | CGStmt.cpp | 1444 if (calleeQualType->isFunctionPointerType() || in isSwiftAsyncCallee()
|
| H A D | CGExpr.cpp | 5814 assert(CalleeType->isFunctionPointerType() && in EmitCall()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 175 if (T->isFunctionPointerType() || T->isFunctionReferenceType() || in classify()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCast.cpp | 1120 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 D | SemaX86.cpp | 954 if (VD && VD->getType()->isFunctionPointerType()) in handleForceAlignArgPointerAttr() 958 if (TD && (TD->getUnderlyingType()->isFunctionPointerType() || in handleForceAlignArgPointerAttr()
|
| H A D | SemaDeclAttr.cpp | 1891 !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 D | SemaExpr.cpp | 4126 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 D | SemaChecking.cpp | 336 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 D | SemaDecl.cpp | 7257 if (NR->isFunctionPointerType() || NR->isMemberFunctionPointerType() || in diagnoseOpenCLTypes() 7844 if (R->isFunctionPointerType()) in ActOnVariableDeclarator() 15135 !(T->isFunctionPointerType() && in CheckParameter()
|
| H A D | SemaTemplateDeduction.cpp | 4058 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 1190 if (Ty->isFunctionPointerType()) in getFunctionType() 1200 bool Decl::isFunctionPointerType() const { in isFunctionPointerType() function in Decl 1209 return Ty.getCanonicalType()->isFunctionPointerType(); in isFunctionPointerType()
|
| H A D | Type.cpp | 2846 return getTypePtr()->isFunctionPointerType() && in isWebAssemblyFuncrefType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | CanonicalType.h | 290 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFunctionPointerType)
|
| H A D | DeclBase.h | 1262 bool isFunctionPointerType() const;
|
| H A D | Type.h | 2521 bool isFunctionPointerType() const; 8035 inline bool Type::isFunctionPointerType() const {
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 82 T->isFunctionPointerType() || in isCallback() 96 if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType()) in isCallback()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 233 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 D | ObjCMT.cpp | 531 if (RT->isBlockPointerType() || RT->isFunctionPointerType()) in rewriteToObjCProperty() 1047 T->isBlockPointerType() || T->isFunctionPointerType() || in TypeIsInnerPointer()
|
| /freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | DeclarationFragments.cpp | 321 if (T->isPointerType() && !T->isFunctionPointerType()) in getFragmentsForType()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 1860 assert(Ty->isPointerType() && !Ty->isFunctionPointerType() && in getPointeeTypeText()
|
| H A D | CFG.cpp | 2681 if (Ty->isFunctionPointerType() || Ty->isBlockPointerType()) in CanThrow()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5162 if (QT->isFunctionPointerType()) in AST_POLYMORPHIC_MATCHER_P2()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 3170 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 D | MallocChecker.cpp | 2083 if (SymBase->getType()->isFunctionPointerType()) { in FreeMemAux()
|