Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp178 if (T->isFunctionPointerType() || T->isFunctionReferenceType() || in classify()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp1111 if (((SrcType->isBlockPointerType() || SrcType->isFunctionPointerType()) && in checkCastFunctionType()
1112 DestType->isFunctionPointerType()) || in checkCastFunctionType()
2000 if (DestType->isFunctionPointerType() || in TryConstCast()
2109 !SrcType->isFunctionPointerType() || !DstType->isFunctionPointerType()) in DiagnoseCallingConvCast()
2543 if (SrcType->isFunctionPointerType()) { in TryReinterpretCast()
2544 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
2563 if (DestType->isFunctionPointerType()) { in TryReinterpretCast()
H A DSemaDeclAttr.cpp2261 !VD->getType()->isFunctionPointerType())) { in handleAnalyzerNoReturnAttr()
3126 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) { in handleSentinelAttr()
3127 const FunctionType *FT = Ty->isFunctionPointerType() in handleSentinelAttr()
3133 int m = Ty->isFunctionPointerType() ? 0 : 1; in handleSentinelAttr()
4179 if (!CalleeType || !CalleeType->isFunctionPointerType()) { in handleCallbackAttr()
4228 return T.isFunctionPointerType() || T.isBlockPointerType(); in isFunctionLike()
8081 if (VD && VD->getType()->isFunctionPointerType()) in handleX86ForceAlignArgPointerAttr()
8085 if (TD && (TD->getUnderlyingType()->isFunctionPointerType() || in handleX86ForceAlignArgPointerAttr()
8626 if (VDecl && !VDecl->isFunctionPointerType()) { in handleNoMergeAttr()
H A DSemaExpr.cpp9913 RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType() && in checkPointerTypesForAssignment()
9973 if (RHSType->isFunctionPointerType() && LHSType->isFunctionPointerType()) in checkPointerTypesForAssignment()
13166 if (IsOrdered && LHSType->isFunctionPointerType() && in CheckCompareOperands()
13167 RHSType->isFunctionPointerType()) { in CheckCompareOperands()
13191 ((LHSType->isFunctionPointerType() && RHSType->isVoidPointerType()) || in CheckCompareOperands()
13192 (RHSType->isFunctionPointerType() && LHSType->isVoidPointerType()))) { in CheckCompareOperands()
17635 if (!DstType->isFunctionPointerType() || in maybeDiagnoseAssignmentToFunction()
H A DSemaChecking.cpp306 SrcTy->isFunctionPointerType()) { in SemaBuiltinAlignment()
725 if (!FnArgType->isFunctionType() && !FnArgType->isFunctionPointerType() && in SemaBuiltinDumpStruct()
1998 if (ParamTy->isFunctionPointerType()) in SemaBuiltinLaunder()
7738 if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType() && in CheckPointerCall()
13844 !Cast->getSubExpr()->getType()->isFunctionPointerType()) in CheckFreeArgumentsCast()
H A DSemaTemplateDeduction.cpp3882 !ParamType->isFunctionPointerType() && in ResolveOverloadForDeduction()
H A DSemaDecl.cpp7457 if (NR->isFunctionPointerType() || NR->isMemberFunctionPointerType() || in diagnoseOpenCLTypes()
8018 if (R->isFunctionPointerType()) in ActOnVariableDeclarator()
15369 !(T->isFunctionPointerType() && in CheckParameter()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp1126 if (Ty->isFunctionPointerType()) in getFunctionType()
1136 bool Decl::isFunctionPointerType() const { in isFunctionPointerType() function in Decl
1145 return Ty.getCanonicalType()->isFunctionPointerType(); in isFunctionPointerType()
H A DCommentSema.cpp834 return QT->isFunctionPointerType(); in isFunctionPointerVarDecl()
H A DType.cpp2784 return getTypePtr()->isFunctionPointerType() && in isWebAssemblyFuncrefType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h290 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFunctionPointerType)
H A DDeclBase.h1273 bool isFunctionPointerType() const;
H A DType.h2271 bool isFunctionPointerType() const;
7118 inline bool Type::isFunctionPointerType() const {
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp82 T->isFunctionPointerType() || in isCallback()
96 if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType()) in isCallback()
H A DSValBuilder.cpp810 OriginalTy->isFunctionPointerType()) in VisitMemRegionVal()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp233 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleTopLevelDeclInObjCContainer()
1211 else if (T->isFunctionPointerType() || in RewriteTypeIntoString()
4508 if (T->isFunctionPointerType()) { in convertObjCTypeToCStyleType()
5130 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) in RewriteByRefVar()
5591 else if (ND->getType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5608 else if (TD->getUnderlyingType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
5750 else if (VD->getType()->isFunctionPointerType()) { in HandleDeclInMainFile()
5786 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleDeclInMainFile()
H A DRewriteObjC.cpp1044 else if (T->isFunctionPointerType() || in RewriteTypeIntoString()
4263 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) in RewriteByRefVar()
4695 else if (ND->getType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
4712 else if (TD->getUnderlyingType()->isFunctionPointerType()) in RewriteFunctionBodyOrGlobalInitializer()
4850 else if (VD->getType()->isFunctionPointerType()) { in HandleDeclInMainFile()
4886 else if (TD->getUnderlyingType()->isFunctionPointerType()) in HandleDeclInMainFile()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp297 if (T->isPointerType() && !T->isFunctionPointerType()) in getFragmentsForType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp1588 assert(Ty->isPointerType() && !Ty->isFunctionPointerType() && in getPointeeTypeText()
H A DCFG.cpp2684 if (Ty->isFunctionPointerType() || Ty->isBlockPointerType()) in CanThrow()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1276 if (calleeQualType->isFunctionPointerType() || in makeTailCallIfSwiftAsync()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3133 auto isFunctionPointerType = [](clang::QualType qual_type) { in IsFunctionPointerType() local
3134 return qual_type->isFunctionPointerType(); in IsFunctionPointerType()
3137 return IsTypeImpl(type, isFunctionPointerType); in IsFunctionPointerType()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp2035 if (SymBase->getType()->isFunctionPointerType()) { in FreeMemAux()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h5140 if (QT->isFunctionPointerType()) in AST_POLYMORPHIC_MATCHER_P2()

12