/external/clang/lib/AST/ |
D | ExprClassification.cpp | 45 if (TR->isFunctionType() || TR == Ctx.OverloadTy) in ClassifyImpl() 455 return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue; in ClassifyUnnamed() 533 return (E->getType()->isFunctionType() || in ClassifyBinaryOp() 541 return (E->getType()->isFunctionType() || in ClassifyBinaryOp() 602 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType()) in IsModifiable()
|
D | ASTContext.cpp | 1392 if (!BaseT->isIncompleteType() && !T->isFunctionType()) { in getDeclAlign() 2393 assert((T->isArrayType() || T->isFunctionType()) && "T does not decay"); in getDecayedType() 2409 if (T->isFunctionType()) in getDecayedType() 2434 assert(T->isFunctionType() && "block of function types only"); in getBlockPointerType() 4552 if (T->isArrayType() || T->isFunctionType()) in getAdjustedParameterType() 4571 if (T->isArrayType() || T->isFunctionType()) in getExceptionObjectType() 5212 } else if (PType->isFunctionType()) in getObjCEncodingForBlock() 5254 } else if (PType->isFunctionType()) in getObjCEncodingForFunctionDecl() 5325 } else if (PType->isFunctionType()) in getObjCEncodingForMethodDecl() 7962 if (RHSCan->isFunctionType()) { in mergeObjCGCQualifiers() [all …]
|
D | TypePrinter.cpp | 1291 while (!t->isFunctionType()) in printAttributedAfter() 1345 while (!t->isFunctionType()) in printAttributedAfter()
|
D | Expr.cpp | 1535 assert(getSubExpr()->getType()->isFunctionType()); in CastConsistency() 2287 assert(type->isFunctionType()); in findBoundMemberType()
|
D | ExprConstant.cpp | 2042 if (Type->isVoidType() || Type->isFunctionType()) { in HandleSizeof() 4779 assert(E->isGLValue() || E->getType()->isFunctionType() || in EvaluateLValue() 6800 if (PointeeType->isIncompleteType() || PointeeType->isFunctionType()) in tryEvaluateBuiltinObjectSize() 9003 if (E->isGLValue() || T->isFunctionType()) { in Evaluate()
|
/external/kotlinpoet/interop/ksp/test-processor/src/test/kotlin/com/squareup/kotlinpoet/ksp/test/processor/ |
D | KsTypesTest.kt | 42 override val isFunctionType: Boolean in errorTypesShouldFail() constant
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 686 if (!declarator.getNumTypeObjects() && declSpecType->isFunctionType()) in maybeSynthesizeBlockSignature() 1682 if (TypeQuals && Result->isFunctionType()) { in ConvertDeclSpecToType() 2132 if (T->isFunctionType()) { in BuildArrayType() 2333 if (T->isArrayType() || T->isFunctionType()) { in CheckFunctionReturnType() 2335 << T->isFunctionType() << T; in CheckFunctionReturnType() 2502 if (T->isFunctionType()) in BuildMemberPointerType() 2522 if (!T->isFunctionType()) { in BuildBlockPointerType() 4018 if ((T->isArrayType() || T->isFunctionType()) && in GetFullTypeForDeclarator() 4026 S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T; in GetFullTypeForDeclarator() 4394 if (LangOpts.CPlusPlus && T->isFunctionType()) { in GetFullTypeForDeclarator() [all …]
|
D | SemaExprCXX.cpp | 1280 if (!ListInitialization && Ty->isFunctionType()) in BuildCXXTypeConstructExpr() 1903 if (AllocType->isFunctionType()) in CheckAllocatedType() 2941 } else if (Pointee->isFunctionType() || Pointee->isVoidType()) { in ActOnCXXDelete() 3087 if (T->isFunctionType()) in CheckConditionVariable() 3959 return T->isFunctionType(); in EvaluateUnaryTypeTrait() 4130 if (T->isIncompleteType() || T->isFunctionType()) in EvaluateUnaryTypeTrait() 4371 if (T->isIncompleteType() || T->isFunctionType()) in evaluateTypeTrait() 4384 if (ArgTy->isObjectType() || ArgTy->isFunctionType()) in evaluateTypeTrait() 4548 if (RhsT->isFunctionType() || RhsT->isArrayType()) in EvaluateBinaryTypeTrait() 4560 if (LhsT->isObjectType() || LhsT->isFunctionType()) in EvaluateBinaryTypeTrait() [all …]
|
D | SemaExpr.cpp | 520 if (Ty->isFunctionType()) { in DefaultFunctionArrayConversion() 744 if (Ty->isFunctionType()) { in CallExprUnaryConversions() 3558 if (T->isFunctionType() && in CheckExtensionTraitOperandType() 3653 if (ExprTy->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand() 3746 if (ExprType->isFunctionType()) { in CheckUnaryExprOrTypeTraitOperand() 4297 if (ResultTy->isFunctionType()) { in ActOnOMPArraySectionExpr() 4473 if (ResultType->isFunctionType()) { in CreateBuiltinArraySubscriptExpr() 7158 assert(rhptee->isFunctionType()); in checkPointerTypesForAssignment() 7167 assert(lhptee->isFunctionType()); in checkPointerTypesForAssignment() 8010 NonNullType->isMemberPointerType() || NonNullType->isFunctionType()) in checkArithmeticNull() [all …]
|
D | SemaTemplateDeduction.cpp | 1027 if ((TDF & TDF_TopLevelParameterTypeList) && !Param->isFunctionType()) { in DeduceTemplateArgumentsByTypeMatch() 1533 if (ParamPointeeType->isFunctionType()) in DeduceTemplateArgumentsByTypeMatch() 1537 if (ArgPointeeType->isFunctionType()) in DeduceTemplateArgumentsByTypeMatch() 3011 if (!ParamType->isFunctionType() && in ResolveOverloadForDeduction() 3061 ArgType->isFunctionType()) in ResolveOverloadForDeduction() 3152 else if (ArgType->isFunctionType()) in AdjustFunctionParmAndArgTypesForDeduction() 3802 else if (P->isFunctionType()) in DeduceTemplateArguments()
|
D | SemaTemplate.cpp | 667 else if (T->isArrayType() || T->isFunctionType()) in CheckNonTypeTemplateParameterType() 3627 if (T->isFunctionType()) in CheckTemplateArgument() 4415 !ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType() && in CheckTemplateArgumentIsCompatibleWithParameter() 4422 if (!ParamRef->getPointeeType()->isFunctionType()) { in CheckTemplateArgumentIsCompatibleWithParameter() 5226 ParamType->getAs<PointerType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument() 5232 ParamType->getAs<ReferenceType>()->getPointeeType()->isFunctionType()) || in CheckTemplateArgument() 5240 ->isFunctionType())) { in CheckTemplateArgument() 5415 else if (ParamType->isFunctionType()) in BuildExpressionFromDeclTemplateArgument() 5492 if (T->isFunctionType() || T->isArrayType()) { in BuildExpressionFromDeclTemplateArgument() 7780 if (D.getDeclSpec().isConstexprSpecified() && R->isFunctionType()) in ActOnExplicitInstantiation() [all …]
|
D | DeclSpec.cpp | 318 return E->getType()->isFunctionType(); in isDeclarationOfFunction() 334 return QT->isFunctionType(); in isDeclarationOfFunction()
|
D | SemaOverload.cpp | 1571 !FromType->isFunctionType() && !FromType->isArrayType() && in IsStandardConversion() 1609 } else if (FromType->isFunctionType() && argIsLValue) { in IsStandardConversion() 2188 if (getLangOpts().MSVCCompat && FromPointeeType->isFunctionType() && in IsPointerConversion() 2768 FromPointeeType->isFunctionType() && ToPointeeType->isVoidType()) { in CheckPointerConversion() 4199 if (RefType && !RefType->getPointeeType()->isFunctionType()) in FindConversionForRefInit() 4221 !RefType->getPointeeType()->isFunctionType())) in FindConversionForRefInit() 4352 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit() 4396 (InitCategory.isLValue() && T2->isFunctionType()))) { in TryReferenceInit() 4417 ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType(); in TryReferenceInit() 4453 if (T1->isFunctionType()) in TryReferenceInit() [all …]
|
D | SemaExprMember.cpp | 1267 if (IsArrow && !Base->getType()->isFunctionType()) in PerformMemberExprBaseConversion() 1324 } else if (BaseType->isFunctionType()) { in LookupMemberExpr()
|
D | SemaStmtAsm.cpp | 597 if (T->isFunctionType()) { in LookupInlineAsmIdentifier()
|
D | SemaTemplateInstantiateDecl.cpp | 616 if (DI->getType()->isFunctionType()) { in VisitVarDecl() 672 } else if (DI->getType()->isFunctionType()) { in VisitFieldDecl() 758 } else if (DI->getType()->isFunctionType()) { in VisitMSPropertyDecl() 2850 if (DI->getType()->isFunctionType()) { in VisitVarTemplateSpecializationDecl() 3157 if (DI->getType()->isFunctionType()) { in InstantiateVarTemplatePartialSpecialization()
|
D | SemaExceptionSpec.cpp | 80 else if (T->isFunctionType()) in CheckSpecifiedExceptionType()
|
D | SemaInit.cpp | 1069 } else if (DeclType->isVoidType() || DeclType->isFunctionType()) { in CheckListElementTypes() 4082 VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue; in TryRefInitWithConversionFunction() 4232 bool T1Function = T1->isFunctionType(); in TryReferenceInitializationCore() 5220 else if (Initializer->getType()->isFunctionType() && in InitializeFrom()
|
D | SemaDecl.cpp | 4996 if (!R->isFunctionType() && DiagnoseClassNameShadow(DC, NameInfo)) in HandleDeclarator() 5026 R->isFunctionType())) { in HandleDeclarator() 5121 } else if (R->isFunctionType()) { in HandleDeclarator() 7664 assert(R.getTypePtr()->isFunctionType()); in ActOnFunctionDeclarator() 8940 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMain() 9053 assert(T->isFunctionType() && "function decl is not of function type"); in CheckMSVCRTEntryPoint() 13919 if (FDTy->isFunctionType()) { in ActOnFields()
|
/external/clang/include/clang/AST/ |
D | Type.h | 1584 return !isFunctionType(); 1592 return !isReferenceType() && !isFunctionType() && !isVoidType(); 1660 bool isFunctionType() const; 5444 getTypePtr()->isFunctionType()); 5466 isFunctionType() || 5482 inline bool Type::isFunctionType() const { 5505 return T->getPointeeType()->isFunctionType(); 5765 return isFunctionType() || isArrayType();
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 587 assert(Loc::isLocType(originalTy) || originalTy->isFunctionType() || in evalCast()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/ |
D | MicrosoftDemangle.cpp | 211 static bool isFunctionType(StringView S) { in isFunctionType() function 1798 else if (isFunctionType(MangledName)) { in demangleType()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 767 if (QT->isVoidType() || QT->isFunctionType()) in clang_Type_getSizeOf()
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 1373 if (!Ty.isNull() && Ty->isFunctionType()) { in ParseCastExpression() 1624 (BaseType->isFunctionType() || in ParsePostfixExpressionSuffix()
|
/external/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 1727 } else if (type->isFunctionType()) { in EmitScalarPrePostIncDec() 2487 if (elementType->isVoidType() || elementType->isFunctionType()) { in emitPointerArithmetic() 2674 if (elementType->isVoidType() || elementType->isFunctionType()) in EmitSub()
|