reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Type.h
 1985   bool isFunctionType() const;

References

tools/clang/include/clang/AST/Expr.h
  408                 : (RT->getPointeeType()->isFunctionType()
tools/clang/include/clang/AST/Type.h
 1902     return !isFunctionType();
 1910     return !isReferenceType() && !isFunctionType() && !isVoidType();
 6348           getTypePtr()->isFunctionType());
 6371          isFunctionType() ||
 6417     return T->getPointeeType()->isFunctionType();
 6424     return T->getPointeeType()->isFunctionType();
 6786   return isFunctionType() || isArrayType();
tools/clang/lib/AST/ASTContext.cpp
 1636     if (T->isFunctionType())
 2992   assert((T->isArrayType() || T->isFunctionType()) && "T does not decay");
 3008   if (T->isFunctionType())
 3033   assert(T->isFunctionType() && "block of function types only");
 5602   if (T->isArrayType() || T->isFunctionType())
 5621   if (T->isArrayType() || T->isFunctionType())
 6362     } else if (PType->isFunctionType())
 6405     } else if (PType->isFunctionType())
 6476     } else if (PType->isFunctionType())
 9229   if (RHSCan->isFunctionType()) {
 9230     if (!LHSCan->isFunctionType())
tools/clang/lib/AST/Decl.cpp
 2774   assert(T.isNull() || T->isFunctionType());
tools/clang/lib/AST/Expr.cpp
 1807     assert(getSubExpr()->getType()->isFunctionType());
 2798     assert(type->isFunctionType());
tools/clang/lib/AST/ExprClassification.cpp
   45     if (TR->isFunctionType() || TR == Ctx.OverloadTy)
  478   return RV->getPointeeType()->isFunctionType() ? Cl::CL_LValue : Cl::CL_XValue;
  556     return (E->getType()->isFunctionType() ||
  564     return (E->getType()->isFunctionType() ||
  624   if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType())
tools/clang/lib/AST/ExprConstant.cpp
 2751   if (Type->isVoidType() || Type->isFunctionType()) {
 5975   if (ElemType->isIncompleteType() || ElemType->isFunctionType()) {
 7378   assert(E->isGLValue() || E->getType()->isFunctionType() ||
10368     if (Ty.isNull() || Ty->isIncompleteType() || Ty->isFunctionType())
13277   if (E->isGLValue() || T->isFunctionType()) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 1712       (PointeeType.isNull() || !PointeeType->isFunctionType()))
tools/clang/lib/AST/TypePrinter.cpp
 1539    while (!t->isFunctionType())
tools/clang/lib/Analysis/BodyFarm.cpp
  260              Call->getType()->isFunctionType()) {
  265              && Call->getType()->getPointeeType()->isFunctionType()){
tools/clang/lib/CodeGen/CGExpr.cpp
  599   if (sanitizePerformTypeCheck() && !E->getType()->isFunctionType()) {
 1794     assert(!LV.getType()->isFunctionType());
 4595   assert(functionType->isFunctionType());
tools/clang/lib/CodeGen/CGExprScalar.cpp
 2452     } else if (type->isFunctionType()) {
 3260   if (elementType->isVoidType() || elementType->isFunctionType()) {
 3563     if (elementType->isVoidType() || elementType->isFunctionType())
tools/clang/lib/CodeGen/CodeGenFunction.h
 1097              expr->getType()->isFunctionType() ||
tools/clang/lib/Parse/ParseExpr.cpp
 1495       if (!Ty.isNull() && Ty->isFunctionType()) {
 1757             (BaseType->isFunctionType() ||
tools/clang/lib/Sema/DeclSpec.cpp
  373         return E->getType()->isFunctionType();
  389       return QT->isFunctionType();
tools/clang/lib/Sema/SemaCast.cpp
 1243             DestPointee->isFunctionType()) {
tools/clang/lib/Sema/SemaChecking.cpp
 1010     if (ArgTy->isFunctionType()) {
 9194     if (ArgType->isFunctionType())
12336   const bool IsFunction = T->isFunctionType();
tools/clang/lib/Sema/SemaCodeComplete.cpp
  913       if (Pointer->getPointeeType()->isFunctionType()) {
tools/clang/lib/Sema/SemaDecl.cpp
 5619               R->isFunctionType())) {
 5676   if (!R->isFunctionType() && DiagnoseClassNameShadow(DC, NameInfo))
 5686       (TemplateParamLists.size() == 0 || R->isFunctionType()))
 5704   } else if (R->isFunctionType()) {
 8570   assert(R->isFunctionType());
10613   assert(T->isFunctionType() && "function decl is not of function type");
10733   assert(T->isFunctionType() && "function decl is not of function type");
16470     if (FDTy->isFunctionType()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 5916     TD->getUnderlyingType()->isFunctionType()))
tools/clang/lib/Sema/SemaDeclCXX.cpp
  810     if (R->isFunctionType())
 9045   } else if (ConvType->isFunctionType()) {
14269   else if (ExDeclType->isFunctionType())
14838   if (!TInfo->getType()->isFunctionType()) {
tools/clang/lib/Sema/SemaExceptionSpec.cpp
  116   else if (T->isFunctionType())
tools/clang/lib/Sema/SemaExpr.cpp
  451   if (Ty->isFunctionType()) {
  672   if (Ty->isFunctionType()) {
 3760   if (T->isFunctionType() &&
 3866   if (ExprTy->isFunctionType()) {
 3960   if (ExprType->isFunctionType()) {
 4551   if (ResultTy->isFunctionType()) {
 4751   if (ResultType->isFunctionType()) {
 7953     assert(rhptee->isFunctionType());
 7962     assert(lhptee->isFunctionType());
 9184       NonNullType->isMemberPointerType() || NonNullType->isFunctionType())
 9416   if (PointeeTy->isFunctionType()) {
 9469   bool isLHSFuncPtr = isLHSPointer && LHSPointeeTy->isFunctionType();
 9470   bool isRHSFuncPtr = isRHSPointer && RHSPointeeTy->isFunctionType();
 9768       if (!rpointee->isVoidType() && !rpointee->isFunctionType()) {
10805       if (IsRelational && LCanPointeeTy->isFunctionType()) {
10813       if ((LCanPointeeTy->isFunctionType() || RCanPointeeTy->isFunctionType())
10813       if ((LCanPointeeTy->isFunctionType() || RCanPointeeTy->isFunctionType())
12419     if (!op->getType()->isFunctionType()) {
14134   assert(T->isFunctionType() &&
14615       !SrcExpr->getType()->isFunctionType())
15969       if (!RefType->getPointeeType()->isFunctionType())
17533   if (DestType->isArrayType() || DestType->isFunctionType()) {
17539       << DestType->isFunctionType() << DestType;
17619   if (DestType->isArrayType() || DestType->isFunctionType()) {
17621       << DestType->isFunctionType() << DestType;
17691     if (!Type->isFunctionType()) {
17742     } else if (Type->isFunctionType()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 1389   if (Ty->isFunctionType())
 2189   if (AllocType->isFunctionType())
 3322     } else if (Pointee->isFunctionType() || Pointee->isVoidType()) {
 3640   if (T->isFunctionType())
 4536     return T->isFunctionType();
 4716     if (T->isIncompleteType() || T->isFunctionType())
 4954     if (T->isIncompleteType() || T->isFunctionType())
 4967       if (ArgTy->isObjectType() || ArgTy->isFunctionType())
 5163     if (RhsT->isFunctionType() || RhsT->isArrayType())
 5175     if (LhsT->isObjectType() || LhsT->isFunctionType())
 5229     if (LhsT->isObjectType() || LhsT->isFunctionType())
 5231     if (RhsT->isObjectType() || RhsT->isFunctionType())
 5549   if (Result->isFunctionType()) {
 7348     if (!getLangOpts().CPlusPlus && E->getType()->isFunctionType())
tools/clang/lib/Sema/SemaExprMember.cpp
 1229   if (IsArrow && !Base->getType()->isFunctionType())
 1287     } else if (BaseType->isFunctionType()) {
tools/clang/lib/Sema/SemaInit.cpp
 1283   } else if (DeclType->isVoidType() || DeclType->isFunctionType()) {
 4597     VK = RRef->getPointeeType()->isFunctionType() ? VK_LValue : VK_XValue;
 4725   bool T1Function = T1->isFunctionType();
 5913     else if (Initializer->getType()->isFunctionType() &&
tools/clang/lib/Sema/SemaObjCProperty.cpp
  641   if (T->isArrayType() || T->isFunctionType()) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 5075       !ER.get()->IgnoreParenImpCasts()->getType()->isFunctionType()) {
15563   if (ReductionType->isFunctionType()) {
tools/clang/lib/Sema/SemaOverload.cpp
 1711       !FromType->isFunctionType() && !FromType->isArrayType() &&
 1749   } else if (FromType->isFunctionType() && argIsLValue) {
 2370   if (getLangOpts().MSVCCompat && FromPointeeType->isFunctionType() &&
 2964           FromPointeeType->isFunctionType() && ToPointeeType->isVoidType()) {
 4408   else if (UnqualT2->isFunctionType() &&
 4506         if (RefType && !RefType->getPointeeType()->isFunctionType())
 4529            !RefType->getPointeeType()->isFunctionType()))
 4659       ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
 4703        (InitCategory.isLValue() && T2->isFunctionType()))) {
 4724     ICS.Standard.BindsToFunctionLvalue = T2->isFunctionType();
 4760   if (T1->isFunctionType())
 8121       if (!PointeeTy->isObjectType() && !PointeeTy->isFunctionType())
11325     if (TargetFunctionType->isFunctionType()) {
11416     return TargetFunctionType->isFunctionType();
11800   if (DoFunctionPointerConverion && Fixed->getType()->isFunctionType())
12415       if (!Arg->getType()->isFunctionType())
tools/clang/lib/Sema/SemaStmtAsm.cpp
  702   if (T->isFunctionType() || T->isDependentType())
  754   if (T->isFunctionType()) {
tools/clang/lib/Sema/SemaTemplate.cpp
 1095   if (T->isArrayType() || T->isFunctionType())
 5050       if (T->isFunctionType())
 5864       !ParamType->castAs<PointerType>()->getPointeeType()->isFunctionType() &&
 5871       if (!ParamRef->getPointeeType()->isFunctionType()) {
 6740        ParamType->castAs<PointerType>()->getPointeeType()->isFunctionType()) ||
 6746        ParamType->castAs<ReferenceType>()->getPointeeType()->isFunctionType()) ||
 6754          ->isFunctionType())) {
 6950   else if (ParamType->isFunctionType())
 7028         (T->isFunctionType() || T->isArrayType())) {
 9417   if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType())
 9442   if (!R->isFunctionType()) {
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 1305     if ((TDF & TDF_TopLevelParameterTypeList) && !Param->isFunctionType()) {
 1364     if (Arg->isFunctionType() && Param.hasQualifiers()) {
 1867       if (ParamPointeeType->isFunctionType())
 1871       if (ArgPointeeType->isFunctionType())
 3202     if (A->isFunctionType() && S.IsFunctionConversion(A, DeducedA, Tmp))
 3496   if (!ParamType->isFunctionType() &&
 3546         ArgType->isFunctionType())
 3632     else if (ArgType->isFunctionType())
 4192     else if (P->isFunctionType())
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  882   if (DI->getType()->isFunctionType()) {
  947     } else if (DI->getType()->isFunctionType()) {
 1033     } else if (DI->getType()->isFunctionType()) {
 3437   if (DI->getType()->isFunctionType()) {
 3778   if (DI->getType()->isFunctionType()) {
tools/clang/lib/Sema/SemaType.cpp
  736   if (!declarator.getNumTypeObjects() && declSpecType->isFunctionType())
 1703     if (TypeQuals && Result->isFunctionType()) {
 2001   if (T->isFunctionType() && getLangOpts().OpenCL) {
 2189   if (T->isFunctionType()) {
 2452   if (T->isArrayType() || T->isFunctionType()) {
 2454       << T->isFunctionType() << T;
 2630   if (T->isFunctionType())
 2650   if (!T->isFunctionType()) {
 4606       if (!D.isInvalidType() && (T->isArrayType() || T->isFunctionType()) &&
 4615         S.Diag(DeclType.Loc, diagID) << T->isFunctionType() << T;
 5080   if (LangOpts.CPlusPlus && T->isFunctionType()) {
 5978   if (Type->isFunctionType()) {
 8440     else if (T->isFunctionType())
tools/clang/lib/Sema/TreeTransform.h
 4381   if (T->isFunctionType()) {
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
  326          T->isFunctionType() || T->isAtomicType() ||
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  641     assert(Loc::isLocType(originalTy) || originalTy->isFunctionType() ||
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp
   72     return T->isFunctionType() || T->isFunctionPointerType() ||
tools/clang/tools/libclang/CXType.cpp
  954   if (QT->isVoidType() || QT->isFunctionType())
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
  320     if (expr_type->isFunctionType())
tools/lldb/source/Symbol/ClangASTContext.cpp
 3015     if (qual_type->isFunctionType()) {