Home
last modified time | relevance | path

Searched refs:isFunctionType (Results 1 – 25 of 41) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprClassification.cpp46 if (TR->isFunctionType() || TR == Ctx.OverloadTy) in ClassifyImpl()
472 return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue; in ClassifyUnnamed()
550 return (E->getType()->isFunctionType() || in ClassifyBinaryOp()
558 return (E->getType()->isFunctionType() || in ClassifyBinaryOp()
618 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType()) in IsModifiable()
H A DASTContext.cpp1594 if (T->isFunctionType()) in getDeclAlign()
2895 assert((T->isArrayType() || T->isFunctionType()) && "T does not decay"); in getDecayedType()
2911 if (T->isFunctionType()) in getDecayedType()
2936 assert(T->isFunctionType() && "block of function types only"); in getBlockPointerType()
5467 if (T->isArrayType() || T->isFunctionType()) in getAdjustedParameterType()
5486 if (T->isArrayType() || T->isFunctionType()) in getExceptionObjectType()
6224 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
6267 } else if (PType->isFunctionType()) in getObjCEncodingForFunctionDecl()
6337 } else if (PType->isFunctionType()) in getObjCEncodingForMethodDecl()
9082 if (RHSCan->isFunctionType()) { in mergeObjCGCQualifiers()
[all …]
H A DTypePrinter.cpp1502 while (!t->isFunctionType()) in printAttributedAfter()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObject.h320 T->isFunctionType(); in isPrimitiveType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp2137 if (T->isFunctionType()) { in BuildArrayType()
2404 << T->isFunctionType() << T; in CheckFunctionReturnType()
2565 if (T->isFunctionType()) in BuildMemberPointerType()
2585 if (!T->isFunctionType()) { in BuildBlockPointerType()
5838 if (Type->isFunctionType()) { in HandleAddressSpaceTypeAttribute()
6748 if (!unwrapped.isFunctionType()) in handleFunctionTypeAttr()
6763 if (!unwrapped.isFunctionType()) in handleFunctionTypeAttr()
6789 if (!unwrapped.isFunctionType()) in handleFunctionTypeAttr()
6810 if (!unwrapped.isFunctionType()) in handleFunctionTypeAttr()
6825 if (!unwrapped.isFunctionType()) in handleFunctionTypeAttr()
[all …]
H A DSemaExprCXX.cpp1405 if (Ty->isFunctionType()) in BuildCXXTypeConstructExpr()
2202 if (AllocType->isFunctionType()) in CheckAllocatedType()
3641 if (T->isFunctionType()) in CheckConditionVariable()
4532 return T->isFunctionType(); in EvaluateUnaryTypeTrait()
4710 if (T->isIncompleteType() || T->isFunctionType()) in EvaluateUnaryTypeTrait()
4948 if (T->isIncompleteType() || T->isFunctionType()) in evaluateTypeTrait()
5150 if (RhsT->isFunctionType() || RhsT->isArrayType()) in EvaluateBinaryTypeTrait()
5162 if (LhsT->isObjectType() || LhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
5216 if (LhsT->isObjectType() || LhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
5218 if (RhsT->isObjectType() || RhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
[all …]
H A DSemaStmtAsm.cpp665 if (T->isFunctionType() || T->isDependentType()) in FillInlineAsmIdentifierInfo()
717 if (T->isFunctionType()) { in LookupInlineAsmIdentifier()
H A DSemaTemplateDeduction.cpp1306 if ((TDF & TDF_TopLevelParameterTypeList) && !Param->isFunctionType()) { in DeduceTemplateArgumentsByTypeMatch()
1365 if (Arg->isFunctionType() && Param.hasQualifiers()) { in DeduceTemplateArgumentsByTypeMatch()
1868 if (ParamPointeeType->isFunctionType()) in DeduceTemplateArgumentsByTypeMatch()
1872 if (ArgPointeeType->isFunctionType()) in DeduceTemplateArgumentsByTypeMatch()
3196 if (A->isFunctionType() && S.IsFunctionConversion(A, DeducedA, Tmp)) in CheckOriginalCallArgDeduction()
3490 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3540 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
3626 else if (ArgType->isFunctionType()) in AdjustFunctionParmAndArgTypesForDeduction()
4184 else if (P->isFunctionType()) in DeduceTemplateArguments()
H A DSemaExpr.cpp450 if (Ty->isFunctionType()) { in DefaultFunctionArrayConversion()
666 if (Ty->isFunctionType()) { in CallExprUnaryConversions()
3632 if (T->isFunctionType() && in CheckExtensionTraitOperandType()
3728 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
3823 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
4426 if (ResultTy->isFunctionType()) { in ActOnOMPArraySectionExpr()
4626 if (ResultType->isFunctionType()) { in CreateBuiltinArraySubscriptExpr()
9063 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
10422 if ((LCanPointeeTy->isFunctionType() || RCanPointeeTy->isFunctionType()) in CheckCompareOperands()
13574 assert(T->isFunctionType() && in ActOnBlockArguments()
[all …]
H A DSemaOverload.cpp1702 !FromType->isFunctionType() && !FromType->isArrayType() && in IsStandardConversion()
1740 } else if (FromType->isFunctionType() && argIsLValue) { in IsStandardConversion()
4335 else if (UnqualT2->isFunctionType() && in CompareReferenceRelationship()
4453 !RefType->getPointeeType()->isFunctionType())) in FindConversionForRefInit()
4583 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit()
4627 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4648 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit()
4684 if (T1->isFunctionType()) in TryReferenceInit()
11001 if (TargetFunctionType->isFunctionType()) { in AddressOfFunctionResolver()
11092 return TargetFunctionType->isFunctionType(); in isTargetTypeAFunction()
[all …]
H A DDeclSpec.cpp374 return E->getType()->isFunctionType(); in isDeclarationOfFunction()
390 return QT->isFunctionType(); in isDeclarationOfFunction()
H A DSemaTemplate.cpp1027 else if (T->isArrayType() || T->isFunctionType()) in CheckNonTypeTemplateParameterType()
4878 if (T->isFunctionType()) in CheckTemplateArgument()
5692 !ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType() && in CheckTemplateArgumentIsCompatibleWithParameter()
5699 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter()
6544 ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument()
6550 ParamType->getAs<ReferenceType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument()
6558 ->isFunctionType())) { in CheckTemplateArgument()
6754 else if (ParamType->isFunctionType()) in BuildExpressionFromDeclTemplateArgument()
6832 (T->isFunctionType() || T->isArrayType())) { in BuildExpressionFromDeclTemplateArgument()
9099 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation()
[all …]
H A DSemaExprMember.cpp1212 if (IsArrow && !Base->getType()->isFunctionType()) in PerformMemberExprBaseConversion()
1270 } else if (BaseType->isFunctionType()) { in LookupMemberExpr()
H A DSemaTemplateInstantiateDecl.cpp725 if (DI->getType()->isFunctionType()) { in VisitVarDecl()
790 } else if (DI->getType()->isFunctionType()) { in VisitFieldDecl()
876 } else if (DI->getType()->isFunctionType()) { in VisitMSPropertyDecl()
3138 if (DI->getType()->isFunctionType()) { in VisitVarTemplateSpecializationDecl()
3464 if (DI->getType()->isFunctionType()) { in InstantiateVarTemplatePartialSpecialization()
H A DSemaExceptionSpec.cpp117 else if (T->isFunctionType()) in CheckSpecifiedExceptionType()
H A DSemaDecl.cpp5417 R->isFunctionType())) { in HandleDeclarator()
5474 if (!R->isFunctionType() && DiagnoseClassNameShadow(DC, NameInfo)) in HandleDeclarator()
5484 (TemplateParamLists.size() == 0 || R->isFunctionType())) in HandleDeclarator()
5502 } else if (R->isFunctionType()) { in HandleDeclarator()
8305 assert(R->isFunctionType()); in ActOnFunctionDeclarator()
10311 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMain()
10431 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMSVCRTEntryPoint()
15792 if (FDTy->isFunctionType()) { in ActOnFields()
H A DSemaInit.cpp1181 } else if (DeclType->isVoidType() || DeclType->isFunctionType()) { in CheckListElementTypes()
4424 VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction()
4548 bool T1Function = T1->isFunctionType(); in TryReferenceInitializationCore()
5702 else if (Initializer->getType()->isFunctionType() && in InitializeFrom()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp261 Call->getType()->isFunctionType()) { in create_call_once_funcptr_call()
266 && Call->getType()->getPointeeType()->isFunctionType()){ in create_call_once_funcptr_call()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp320 if (expr_type->isFunctionType()) in SynthesizeBodyResult()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DType.h1862 return !isFunctionType();
1870 return !isReferenceType() && !isFunctionType() && !isVoidType();
1945 bool isFunctionType() const;
6254 getTypePtr()->isFunctionType());
6276 isFunctionType() ||
6292 inline bool Type::isFunctionType() const {
6322 return T->getPointeeType()->isFunctionType();
6676 return isFunctionType() || isArrayType();
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp642 assert(Loc::isLocType(originalTy) || originalTy->isFunctionType() || in evalCast()
/freebsd-12.1/contrib/llvm/lib/Demangle/
H A DMicrosoftDemangle.cpp207 static bool isFunctionType(StringView S) { in isFunctionType() function
1664 else if (isFunctionType(MangledName)) { in demangleType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseExpr.cpp1466 if (!Ty.isNull() && Ty->isFunctionType()) { in ParseCastExpression()
1734 (BaseType->isFunctionType() || in ParsePostfixExpressionSuffix()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprScalar.cpp2422 } else if (type->isFunctionType()) { in EmitScalarPrePostIncDec()
3227 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
3417 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
H A DCGExpr.cpp599 if (sanitizePerformTypeCheck() && !E->getType()->isFunctionType()) { in EmitReferenceBindingToExpr()
1780 assert(!LV.getType()->isFunctionType()); in EmitLoadOfLValue()
4438 assert(functionType->isFunctionType()); in EmitCallee()

12