Home
last modified time | relevance | path

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

12

/external/clang/lib/AST/
DExprClassification.cpp45 if (TR->isFunctionType() || TR == Ctx.OverloadTy) in ClassifyImpl()
446 return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue; in ClassifyUnnamed()
524 return (E->getType()->isFunctionType() || in ClassifyBinaryOp()
532 return (E->getType()->isFunctionType() || in ClassifyBinaryOp()
593 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType()) in IsModifiable()
DItaniumCXXABI.cpp109 if (MPT->getPointeeType()->isFunctionType()) in getMemberPointerWidthAndAlign()
DASTContext.cpp1323 if (!BaseT->isIncompleteType() && !T->isFunctionType()) { in getDeclAlign()
2271 assert((T->isArrayType() || T->isFunctionType()) && "T does not decay"); in getDecayedType()
2287 if (T->isFunctionType()) in getDecayedType()
2312 assert(T->isFunctionType() && "block of function types only"); in getBlockPointerType()
4339 if (T->isArrayType() || T->isFunctionType()) in getAdjustedParameterType()
4358 if (T->isArrayType() || T->isFunctionType()) in getExceptionObjectType()
4949 } else if (PType->isFunctionType()) in getObjCEncodingForBlock()
4991 } else if (PType->isFunctionType()) in getObjCEncodingForFunctionDecl()
5062 } else if (PType->isFunctionType()) in getObjCEncodingForMethodDecl()
7429 if (RHSCan->isFunctionType()) { in mergeObjCGCQualifiers()
[all …]
DTypePrinter.cpp1201 while (!t->isFunctionType()) in printAttributedAfter()
1254 while (!t->isFunctionType()) in printAttributedAfter()
DExprConstant.cpp1882 if (Type->isVoidType() || Type->isFunctionType()) { in HandleSizeof()
4501 assert(E->isGLValue() || E->getType()->isFunctionType() || in EvaluateLValue()
6099 else if (ArgTy->isFunctionType()) in EvaluateBuiltinClassifyType()
6212 T->isFunctionType() || in TryEvaluateBuiltinObjectSize()
8341 if (E->isGLValue() || T->isFunctionType()) { in Evaluate()
DExpr.cpp1512 assert(getSubExpr()->getType()->isFunctionType()); in CastConsistency()
2400 assert(type->isFunctionType()); in findBoundMemberType()
/external/clang/lib/Sema/
DSemaType.cpp649 if (!declarator.getNumTypeObjects() && declSpecType->isFunctionType()) in maybeSynthesizeBlockSignature()
1124 if (Result->isFunctionType() && TypeQuals) { in ConvertDeclSpecToType()
1576 if (T->isFunctionType()) { in BuildArrayType()
1769 if (T->isArrayType() || T->isFunctionType()) { in CheckFunctionReturnType()
1771 << T->isFunctionType() << T; in CheckFunctionReturnType()
1862 if (T->isFunctionType()) in BuildMemberPointerType()
1882 if (!T->isFunctionType()) { in BuildBlockPointerType()
2776 if ((T->isArrayType() || T->isFunctionType()) && in GetFullTypeForDeclarator()
2784 S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T; in GetFullTypeForDeclarator()
3123 if (LangOpts.CPlusPlus && T->isFunctionType()) { in GetFullTypeForDeclarator()
[all …]
DSemaExprCXX.cpp1661 if (AllocType->isFunctionType()) in CheckAllocatedType()
2446 } else if (Pointee->isFunctionType() || Pointee->isVoidType()) { in ActOnCXXDelete()
2564 if (T->isFunctionType()) in CheckConditionVariable()
3407 return T->isFunctionType(); in EvaluateUnaryTypeTrait()
3799 if (T->isObjectType() || T->isFunctionType()) in evaluateTypeTrait()
3963 if (RhsT->isFunctionType() || RhsT->isArrayType()) in EvaluateBinaryTypeTrait()
3976 if (LhsT->isObjectType() || LhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
4028 if (LhsT->isObjectType() || LhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
4030 if (RhsT->isObjectType() || RhsT->isFunctionType()) in EvaluateBinaryTypeTrait()
4326 if (Result->isFunctionType()) { in CheckPointerToMemberOperands()
[all …]
DSemaExpr.cpp492 if (Ty->isFunctionType()) { in DefaultFunctionArrayConversion()
704 if (Ty->isFunctionType()) { in CallExprUnaryConversions()
3484 if (T->isFunctionType() && in CheckExtensionTraitOperandType()
3579 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
3672 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand()
4072 if (ResultType->isFunctionType()) { in CreateBuiltinArraySubscriptExpr()
6588 assert(rhptee->isFunctionType()); in checkPointerTypesForAssignment()
6597 assert(lhptee->isFunctionType()); in checkPointerTypesForAssignment()
7343 NonNullType->isMemberPointerType() || NonNullType->isFunctionType()) in checkArithmeticNull()
7508 if (PointeeTy->isFunctionType()) { in checkArithmeticOpPointerOperand()
[all …]
DDeclSpec.cpp322 return E->getType()->isFunctionType(); in isDeclarationOfFunction()
338 return QT->isFunctionType(); in isDeclarationOfFunction()
DSemaTemplate.cpp655 else if (T->isArrayType() || T->isFunctionType()) in CheckNonTypeTemplateParameterType()
3538 if (T->isFunctionType()) in CheckTemplateArgument()
4292 !ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType() && in CheckTemplateArgumentIsCompatibleWithParameter()
4299 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter()
5105 ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument()
5111 ParamType->getAs<ReferenceType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument()
5119 ->isFunctionType())) { in CheckTemplateArgument()
5293 else if (ParamType->isFunctionType()) in BuildExpressionFromDeclTemplateArgument()
5370 if (T->isFunctionType() || T->isArrayType()) { in BuildExpressionFromDeclTemplateArgument()
7550 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation()
[all …]
DSemaStmtAsm.cpp535 if (T->isFunctionType()) { in LookupInlineAsmIdentifier()
DSemaTemplateDeduction.cpp1031 if ((TDF & TDF_TopLevelParameterTypeList) && !Param->isFunctionType()) { in DeduceTemplateArgumentsByTypeMatch()
3015 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction()
3060 ArgType->isFunctionType()) in ResolveOverloadForDeduction()
3149 else if (ArgType->isFunctionType()) in AdjustFunctionParmAndArgTypesForDeduction()
3742 else if (P->isFunctionType()) in DeduceTemplateArguments()
DSemaExprMember.cpp1177 if (IsArrow && !Base->getType()->isFunctionType()) in PerformMemberExprBaseConversion()
1234 } else if (BaseType->isFunctionType()) { in LookupMemberExpr()
DSemaOverload.cpp1482 !FromType->isFunctionType() && !FromType->isArrayType() && in IsStandardConversion()
1520 } else if (FromType->isFunctionType() && argIsLValue) { in IsStandardConversion()
2063 if (getLangOpts().MicrosoftExt && FromPointeeType->isFunctionType() && in IsPointerConversion()
4084 if (RefType && !RefType->getPointeeType()->isFunctionType()) in FindConversionForRefInit()
4106 !RefType->getPointeeType()->isFunctionType())) in FindConversionForRefInit()
4237 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit()
4281 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit()
4302 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit()
4338 if (T1->isFunctionType()) in TryReferenceInit()
7318 if (!PointeeTy->isObjectType() && !PointeeTy->isFunctionType()) in addUnaryStarPointerOverloads()
[all …]
DSemaTemplateInstantiateDecl.cpp477 if (DI->getType()->isFunctionType()) { in VisitVarDecl()
533 } else if (DI->getType()->isFunctionType()) { in VisitFieldDecl()
619 } else if (DI->getType()->isFunctionType()) { in VisitMSPropertyDecl()
2626 if (DI->getType()->isFunctionType()) { in VisitVarTemplateSpecializationDecl()
2937 if (DI->getType()->isFunctionType()) { in InstantiateVarTemplatePartialSpecialization()
DSemaExceptionSpec.cpp80 else if (T->isFunctionType()) in CheckSpecifiedExceptionType()
DSemaCast.cpp1820 if (DestMemPtr->getPointeeType()->isFunctionType() != in TryReinterpretCast()
1821 SrcMemPtr->getPointeeType()->isFunctionType()) in TryReinterpretCast()
DSemaDecl.cpp4716 R->isFunctionType())) { in HandleDeclarator()
4794 } else if (R->isFunctionType()) { in HandleDeclarator()
7049 assert(R.getTypePtr()->isFunctionType()); in ActOnFunctionDeclarator()
8207 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMain()
8314 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMSVCRTEntryPoint()
12867 if (FDTy->isFunctionType()) { in ActOnFields()
/external/lldb/source/Expression/
DASTResultSynthesizer.cpp339 if (expr_type->isFunctionType()) in SynthesizeBodyResult()
/external/clang/include/clang/AST/
DType.h1467 return !isFunctionType();
1475 return !isReferenceType() && !isFunctionType() && !isVoidType();
1545 bool isFunctionType() const;
4891 getTypePtr()->isFunctionType());
4913 isFunctionType() ||
4929 inline bool Type::isFunctionType() const {
4952 return T->getPointeeType()->isFunctionType();
5208 return isFunctionType() || isArrayType();
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp515 assert(Loc::isLocType(originalTy) || originalTy->isFunctionType() || in evalCast()
/external/clang/tools/libclang/
DCXType.cpp753 if (QT->isVoidType() || QT->isFunctionType()) in clang_Type_getSizeOf()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp1747 } else if (type->isFunctionType()) { in EmitScalarPrePostIncDec()
2492 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic()
2682 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
DCGExprConstant.cpp1425 assert(!T->getAs<MemberPointerType>()->getPointeeType()->isFunctionType() && in EmitNullConstant()

12