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

Declarations

tools/clang/include/clang/AST/Type.h
 1990   bool isBlockPointerType() const;

References

tools/clang/include/clang/AST/DeclObjC.h
  895       return getType()->isBlockPointerType() ? Copy : Retain;
tools/clang/include/clang/AST/Type.h
 6790   return (isPointerType() || isReferenceType() || isBlockPointerType() ||
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  640     assert(lTy->getTypePtr()->isBlockPointerType());
  776            s->getType()->isBlockPointerType());
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h
  268         (FromTy->isBlockPointerType() ^ ToTy->isBlockPointerType()) ||
  268         (FromTy->isBlockPointerType() ^ ToTy->isBlockPointerType()) ||
  485         Ty->isBlockPointerType() || Ty->isReferenceType()) {
  589         (LTy->isBlockPointerType() || RTy->isBlockPointerType()) ||
  589         (LTy->isBlockPointerType() || RTy->isBlockPointerType()) ||
  600           (LTy->isBlockPointerType() ^ RTy->isBlockPointerType()) ||
  600           (LTy->isBlockPointerType() ^ RTy->isBlockPointerType()) ||
  602         if (LTy->isNullPtrType() || LTy->isBlockPointerType() ||
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
  330     return T->isAnyPointerType() || T->isBlockPointerType() ||
tools/clang/lib/ARCMigrate/ObjCMT.cpp
  452     else if (ArgType->isBlockPointerType())
  459     return ArgType->isBlockPointerType() ? "copy" : "strong";
  543   if (RT->isBlockPointerType() || RT->isFunctionPointerType())
 1061       T->isBlockPointerType() || T->isFunctionPointerType() ||
 1384   if (!AT->isAnyPointerType() && !AT->isBlockPointerType())
tools/clang/lib/AST/ASTContext.cpp
 6227   return (Ty->isBlockPointerType() || isObjCNSObjectType(Ty) ||
 6244   } else if (Ty->isObjCObjectPointerType() || Ty->isBlockPointerType()) {
 7913     if (Ty->isObjCObjectPointerType() || Ty->isBlockPointerType())
 7924     assert(CT->isAnyPointerType() || CT->isBlockPointerType());
 8936        if (LHS->isObjCIdType() && RHS->isBlockPointerType())
 8938       if (RHS->isObjCIdType() && LHS->isBlockPointerType())
tools/clang/lib/AST/CommentSema.cpp
  830     if (Type->isFunctionPointerType() || Type->isBlockPointerType())
  884   return QT->isFunctionPointerType() || QT->isBlockPointerType();
tools/clang/lib/AST/DeclBase.cpp
  965   else if (BlocksToo && Ty->isBlockPointerType())
tools/clang/lib/AST/DeclCXX.cpp
 2652          getConversionType()->isBlockPointerType();
tools/clang/lib/AST/Expr.cpp
 1774     assert(getSubExpr()->getType()->isBlockPointerType());
 1789       assert(getType()->isBlockPointerType() ==
 1790              getSubExpr()->getType()->isBlockPointerType());
 1795     assert(getType()->isBlockPointerType());
 1797            !getSubExpr()->getType()->isBlockPointerType());
 1801     assert(getType()->isBlockPointerType());
 1802     assert(getSubExpr()->getType()->isBlockPointerType());
tools/clang/lib/AST/FormatString.cpp
  468             argTy->isBlockPointerType() || argTy->isNullPtrType()) {
tools/clang/lib/AST/MicrosoftMangle.cpp
 1899                    T->isReferenceType() || T->isBlockPointerType();
tools/clang/lib/AST/Type.cpp
 4055          isBlockPointerType() ||
 4083   return isObjCObjectPointerType() || isBlockPointerType();
tools/clang/lib/Analysis/CFG.cpp
 2551   if (Ty->isFunctionPointerType() || Ty->isBlockPointerType())
tools/clang/lib/CodeGen/CGBlocks.cpp
 1132                type->isBlockPointerType()) {
 1706   bool isBlockPointer = T->isBlockPointerType();
 2136   if (T->isBlockPointerType())
 2664       if (type->isBlockPointerType()) {
 2679   if (type->isBlockPointerType()) {
 2878           if (!type->isObjCObjectPointerType() && !type->isBlockPointerType())
tools/clang/lib/CodeGen/CGBuiltin.cpp
 2109         !ArgType->isObjCObjectPointerType() && !ArgType->isBlockPointerType())
 3815     if (E->getArg(3)->getType()->isBlockPointerType()) {
tools/clang/lib/CodeGen/CGCall.cpp
 2193   if (!ArgType->isAnyPointerType() && !ArgType->isBlockPointerType())
tools/clang/lib/CodeGen/CGExpr.cpp
 4511   if (E->getCallee()->getType()->isBlockPointerType())
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  162     if (FT->isBlockPointerType())
tools/clang/lib/CodeGen/CGObjC.cpp
 1458     else if (argLoad.getType()->isBlockPointerType())
 1462   } else if (ivarRef.getType()->isBlockPointerType()) {
 1463      if (argLoad.getType()->isBlockPointerType())
 2114   if (type->isBlockPointerType())
 2304   bool isBlock = type->isBlockPointerType();
 2368   if (!type->isBlockPointerType())
 2852   assert(e->getType()->isBlockPointerType());
 3409   if (!hasImmediateRetain && e->getType()->isBlockPointerType()) {
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2276   if (FQT->isObjCObjectPointerType() || FQT->isBlockPointerType())
 2448   if (FQT->isObjCObjectPointerType() || FQT->isBlockPointerType())
tools/clang/lib/CodeGen/CodeGenTypes.cpp
  793   assert((T->isAnyPointerType() || T->isBlockPointerType()) && "Invalid type");
tools/clang/lib/CodeGen/TargetInfo.cpp
 1259       Ty->isBlockPointerType() || Ty->isMemberPointerType())
 1295       !Ty->isEnumeralType() && !Ty->isBlockPointerType())
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 1209            T->isBlockPointerType()) {
 3405                     ? CK_BitCast : recExpr->getType()->isBlockPointerType()
 3440         if (SubExpr->getType()->isBlockPointerType()) {
 3461         } else if (userExpr->getType()->isBlockPointerType()) {
 4151     else if (VD->getType()->isBlockPointerType())
 4168     else if (VD->getType()->isBlockPointerType())
 4358           VD->getType()->isBlockPointerType())
 5066     if (Ty->isBlockPointerType())
 5130     if (Ty->isBlockPointerType() || Ty->isFunctionPointerType())
 5182           BlockDeclRefs[i]->getType()->isBlockPointerType())
 5229           InnerBlockDeclRefs[i]->getType()->isBlockPointerType())
 5632     if (CE->getCallee()->getType()->isBlockPointerType()) {
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 1041            T->isBlockPointerType()) {
 1687                 syncExpr->getType()->isBlockPointerType()
 2834                     ? CK_BitCast : recExpr->getType()->isBlockPointerType()
 2869         if (SubExpr->getType()->isBlockPointerType()) {
 2890         } else if (userExpr->getType()->isBlockPointerType()) {
 3361     else if (VD->getType()->isBlockPointerType())
 3378     else if (VD->getType()->isBlockPointerType())
 3567           VD->getType()->isBlockPointerType())
 4223     if (Ty->isBlockPointerType())
 4263     if (Ty->isBlockPointerType() || Ty->isFunctionPointerType())
 4336           BlockDeclRefs[i]->getType()->isBlockPointerType())
 4382           InnerBlockDeclRefs[i]->getType()->isBlockPointerType())
 4734     if (CE->getCallee()->getType()->isBlockPointerType()) {
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  756   if (VariableTy->isBlockPointerType() &&
 1013     if (VD->getType()->isBlockPointerType() && !VD->hasAttr<BlocksAttr>())
tools/clang/lib/Sema/SemaCast.cpp
  519     if (T->isBlockPointerType()) return BlockPtr;
  604             SrcType->isBlockPointerType()) &&
  607             DestType->isBlockPointerType()) &&
 1255       else if (CStyle && DestType->isBlockPointerType()) {
 2185         SrcType->isBlockPointerType()) {
 2192                    DestType->isBlockPointerType();
 2194                   SrcType->isBlockPointerType();
 2237   if ((SrcType->isBlockPointerType() && DestType->isObjCObjectPointerType()) ||
 2238       (DestType->isBlockPointerType() && SrcType->isObjCObjectPointerType()))
 2261   } else if (DestType->isBlockPointerType()) {
 2262     if (!SrcType->isBlockPointerType()) {
 2558   if ((SrcType->isAnyPointerType() || SrcType->isBlockPointerType())
 2559       && (DestType->isAnyPointerType() || DestType->isBlockPointerType()))
tools/clang/lib/Sema/SemaChecking.cpp
  265   if (CE->getCallee()->getType()->isBlockPointerType()) {
  478   return Arg->getType()->isBlockPointerType();
 1795       !ValType->isBlockPointerType() && !ValType->isFloatingType()) {
 4449   if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType() &&
 4456   } else if (Ty->isBlockPointerType()) {
 5058       !ValType->isBlockPointerType()) {
 5432       !ValType->isBlockPointerType() && !ValType->isFloatingType() &&
11315   if (T->isAnyPointerType() || T->isBlockPointerType() ||
tools/clang/lib/Sema/SemaCodeComplete.cpp
 2750       !Param->getType()->isBlockPointerType()) {
 3479       if (ParamType->isBlockPointerType() && !DeclaringEntity)
 4372                              Data.PreferredType->isBlockPointerType();
 4495     if (!P->getType().getTypePtr()->isBlockPointerType() ||
tools/clang/lib/Sema/SemaDecl.cpp
 7583     if (T->isBlockPointerType()) {
12345     if (var->getTypeSourceInfo()->getType()->isBlockPointerType() &&
16023         T->isBlockPointerType()) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1422         if (QT->isAnyPointerType() || QT->isBlockPointerType())
 1428   return T->isAnyPointerType() || T->isBlockPointerType();
 1693         if (!T->isAnyPointerType() && !T->isBlockPointerType())
 1872   if (ResultType->isAnyPointerType() || ResultType->isBlockPointerType()) {
 2005     if (!VD || (!VD->getType()->isBlockPointerType() &&
 2702     if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) {
tools/clang/lib/Sema/SemaDeclObjC.cpp
 1370             type->isBlockPointerType() ||
tools/clang/lib/Sema/SemaExpr.cpp
 4942     else if (Fn && Fn->getType()->isBlockPointerType())
 5043   unsigned FnKind = Fn->getType()->isBlockPointerType()
 6242   assert(E.get()->getType()->isBlockPointerType());
 6260   } else if (type->isBlockPointerType()) {
 6909   if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) ||
 7056   if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
 7056   if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
 7316     if (Ty->isBlockPointerType()) {
 7430   if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
 7430   if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
 8334     if (RHSType->isBlockPointerType()) {
 8408     if (RHSType->isBlockPointerType() &&
 8616        LHSType->isBlockPointerType()) &&
 9183   if ((!LHSNull && !RHSNull) || NonNullType->isBlockPointerType() ||
10319       (LHSType->isBlockPointerType() && !BinaryOperator::isEqualityOp(Opc)) ||
10862         (LHSType->isObjCObjectPointerType() || LHSType->isBlockPointerType())) {
10867         (RHSType->isObjCObjectPointerType() || RHSType->isBlockPointerType())) {
10910   if (!IsRelational && LHSType->isBlockPointerType() &&
10911       RHSType->isBlockPointerType()) {
10927       && ((LHSType->isBlockPointerType() && RHSType->isPointerType())
10928           || (LHSType->isPointerType() && RHSType->isBlockPointerType()))) {
10996     if (!IsRelational && LHSType->isBlockPointerType() &&
11003                RHSType->isBlockPointerType()) {
11051       && LHSType->isBlockPointerType() && RHSType->isIntegerType()) {
11056       && LHSType->isIntegerType() && RHSType->isBlockPointerType()) {
12853         LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType()) {
12853         LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType()) {
13467         || Ty->isBlockPointerType())) {
15802       Var->getType()->isBlockPointerType()) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 7194       Method->getConversionType()->isBlockPointerType()) {
tools/clang/lib/Sema/SemaExprObjC.cpp
  419       !Element->getType()->isBlockPointerType()) {
 1717       if (typeArgs && Args[i]->isRValue() && paramType->isBlockPointerType() &&
 1718           Args[i]->getType()->isBlockPointerType() &&
 2787     if (receiverIsIdLike || ReceiverType->isBlockPointerType() ||
 3700     srcKind = (castExprType->isBlockPointerType() ? 2 : 3);
 3720       << unsigned(castType->isBlockPointerType()) // to ObjC|block type
 3760       << unsigned(castExprType->isBlockPointerType()) // of ObjC|block type
 4453     CK = (T->isBlockPointerType() ? CK_AnyPointerToBlockPointerCast
 4464         << (T->isBlockPointerType()? 1 : 0)
 4505         << (FromType->isBlockPointerType()? 1 : 0)
tools/clang/lib/Sema/SemaFixItUtils.cpp
  174   if ((T.isObjCObjectPointerType() || T.isBlockPointerType()) &&
tools/clang/lib/Sema/SemaObjCProperty.cpp
 2707       && PropertyTy->isBlockPointerType())
 2712            PropertyTy->isBlockPointerType())
tools/clang/lib/Sema/SemaOverload.cpp
  227        getFromType()->isBlockPointerType() ||
 1795               FromType->isBlockPointerType() ||
 2304   if (FromType->isBlockPointerType() && ToType->isPointerType() &&
 2311   if (ToType->isBlockPointerType() &&
 2980     } else if (FromType->isBlockPointerType()) {
 2985   } else if (ToType->isBlockPointerType()) {
 2986     if (!FromType->isBlockPointerType())
 3594     bool Block1 = Conv1->getConversionType()->isBlockPointerType();
 3595     bool Block2 = Conv2->getConversionType()->isBlockPointerType();
tools/clang/lib/Sema/SemaPseudoObject.cpp
 1099       else if (CT->isObjCIdType() ||CT->isBlockPointerType()) {
tools/clang/lib/Sema/SemaStmt.cpp
 1966         !FirstType->isBlockPointerType())
tools/clang/lib/Sema/SemaType.cpp
  975     if (typeArg->isBlockPointerType()) {
 2339     if (ArrType->isBlockPointerType() || ArrType->isPipeType() ||
 4353         if (T->isBlockPointerType())
 4440             T->isBlockPointerType()) {
 4639         if (T->isBlockPointerType() || T->isImageType() || T->isSamplerT() ||
 6262       !type->isBlockPointerType())
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp
  755     if (ArgTy->isBlockPointerType())
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
   98   if (T->isBlockPointerType() ||
  113       if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType())
 1370   } else if (CE->getCallee()->getType()->isBlockPointerType()) {
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp
  578   if (originalTy->isBlockPointerType() || originalTy->isFunctionPointerType()) {
  642            originalTy->isBlockPointerType() || castTy->isReferenceType());
tools/clang/lib/StaticAnalyzer/Core/Store.cpp
   81   if (CastToTy->isBlockPointerType()) {
tools/lldb/source/Symbol/ClangASTContext.cpp
 3239     if (qual_type->isBlockPointerType()) {