Searched refs:isBlockPointerType (Results 1 - 25 of 38) sorted by relevance

12

/external/clang/lib/Sema/
H A DSemaCast.cpp477 SrcType->isBlockPointerType()) &&
480 DestType->isBlockPointerType()) &&
1062 else if (CStyle && DestType->isBlockPointerType()) {
1875 SrcType->isBlockPointerType()) {
1882 DestType->isBlockPointerType();
1884 SrcType->isBlockPointerType();
1935 if ((SrcType->isBlockPointerType() && DestType->isObjCObjectPointerType()) ||
1936 (DestType->isBlockPointerType() && SrcType->isObjCObjectPointerType()))
1943 } else if (DestType->isBlockPointerType()) {
1944 if (!SrcType->isBlockPointerType()) {
[all...]
H A DSemaFixItUtils.cpp178 if ((T.isObjCObjectPointerType() || T.isBlockPointerType()) &&
H A DSemaExprObjC.cpp365 !Element->getType()->isBlockPointerType()) {
2348 if (receiverIsId || ReceiverType->isBlockPointerType() ||
3190 srcKind = (castExprType->isBlockPointerType() ? 2 : 3);
3208 << unsigned(castType->isBlockPointerType()) // to ObjC|block type
3248 << unsigned(castExprType->isBlockPointerType()) // of ObjC|block type
3886 CK = (T->isBlockPointerType() ? CK_AnyPointerToBlockPointerCast
3897 << (T->isBlockPointerType()? 1 : 0)
3938 << (FromType->isBlockPointerType()? 1 : 0)
H A DSemaExpr.cpp4045 else if (Fn && Fn->getType()->isBlockPointerType())
4145 unsigned FnKind = Fn->getType()->isBlockPointerType()
4917 assert(E.get()->getType()->isBlockPointerType());
4935 } else if (type->isBlockPointerType()) {
5493 if ((!PointerTy->isAnyPointerType() && !PointerTy->isBlockPointerType()) ||
5612 if (!LHSTy->isBlockPointerType() || !RHSTy->isBlockPointerType()) {
5775 if (LHSTy->isBlockPointerType() || RHSTy->isBlockPointerType())
6494 if (RHSType->isBlockPointerType()) {
[all...]
H A DSemaChecking.cpp554 !ValType->isBlockPointerType() && !ValType->isFloatingType()) {
875 if (!Ty->isBlockPointerType() && !Ty->isFunctionPointerType())
881 } else if (Ty->isBlockPointerType()) {
1318 !ValType->isBlockPointerType()) {
4438 (!S.getLangOpts().ObjCAutoRefCount && lhsType->isBlockPointerType())) {
4522 E->getType()->isBlockPointerType() ||
4643 SubExpr->getType()->isBlockPointerType() ||
5978 && !Target->isBlockPointerType() && !Target->isMemberPointerType()
H A DSemaDeclAttr.cpp1110 if (QT->isAnyPointerType() || QT->isBlockPointerType()) {
1123 if (!T->isAnyPointerType() && !T->isBlockPointerType()) {
1156 if (T->isAnyPointerType() || T->isBlockPointerType())
1273 if (!T->isAnyPointerType() && !T->isBlockPointerType())
1439 if (RetTy->isAnyPointerType() || RetTy->isBlockPointerType()) {
1493 if (!VD || (!VD->getType()->isBlockPointerType() &&
2122 if (Ty->isBlockPointerType() || Ty->isFunctionPointerType()) {
H A DAnalysisBasedWarnings.cpp612 if (VariableTy->isBlockPointerType() &&
874 if (VD->getType()->isBlockPointerType() && !VD->hasAttr<BlocksAttr>())
H A DSemaOverload.cpp248 getFromType()->isBlockPointerType() ||
1592 FromType->isBlockPointerType() ||
2026 if (FromType->isBlockPointerType() && ToType->isPointerType() &&
2033 if (ToType->isBlockPointerType() &&
2679 } else if (FromType->isBlockPointerType()) {
2684 } else if (ToType->isBlockPointerType()) {
2685 if (!FromType->isBlockPointerType())
3294 bool Block1 = Conv1->getConversionType()->isBlockPointerType();
3295 bool Block2 = Conv2->getConversionType()->isBlockPointerType();
H A DSemaObjCProperty.cpp2239 && PropertyTy->isBlockPointerType())
2244 PropertyTy->isBlockPointerType())
/external/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp452 if (originalTy->isBlockPointerType() || originalTy->isFunctionPointerType()) {
516 originalTy->isBlockPointerType() || castTy->isReferenceType());
H A DCallEvent.cpp58 if (T->isBlockPointerType() ||
73 if (FieldT->isBlockPointerType() || FieldT->isFunctionPointerType())
912 } else if (CE->getCallee()->getType()->isBlockPointerType()) {
H A DStore.cpp81 if (CastToTy->isBlockPointerType()) {
/external/clang/lib/CodeGen/
H A DCGBlocks.cpp830 type->isBlockPointerType()) {
1260 } else if (type->isBlockPointerType()) {
1350 bool isBlockPointer = type->isBlockPointerType();
1518 if (type->isBlockPointerType())
1945 if (type->isBlockPointerType()) {
1960 if (type->isBlockPointerType()) {
2148 if (!type->isObjCObjectPointerType() && !type->isBlockPointerType())
H A DCGObjC.cpp1243 else if (argLoad.getType()->isBlockPointerType())
1247 } else if (ivarRef.getType()->isBlockPointerType()) {
1248 if (argLoad.getType()->isBlockPointerType())
1907 if (type->isBlockPointerType())
2083 bool isBlock = type->isBlockPointerType();
2147 if (!type->isBlockPointerType())
2473 assert(e->getType()->isBlockPointerType());
2793 if (!hasImmediateRetain && e->getType()->isBlockPointerType()) {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSVals.h292 return T->isAnyPointerType() || T->isBlockPointerType() ||
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp339 else if (ArgType->isBlockPointerType())
346 return ArgType->isBlockPointerType() ? "copy" : "strong";
430 if (RT->isBlockPointerType() || RT->isFunctionPointerType())
928 T->isBlockPointerType() || T->isFunctionPointerType() ||
1252 if (!AT->isAnyPointerType() && !AT->isBlockPointerType())
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp416 // We avoid calling Type::isBlockPointerType(), since it operates on the
1050 T->isBlockPointerType()) {
1694 syncExpr->getType()->isBlockPointerType()
2859 ? CK_BitCast : recExpr->getType()->isBlockPointerType()
2896 if (SubExpr->getType()->isBlockPointerType()) {
2917 } else if (userExpr->getType()->isBlockPointerType()) {
3392 else if (VD->getType()->isBlockPointerType())
3411 else if (VD->getType()->isBlockPointerType())
3600 VD->getType()->isBlockPointerType())
4277 if (Ty->isBlockPointerType())
[all...]
H A DRewriteModernObjC.cpp511 // We avoid calling Type::isBlockPointerType(), since it operates on the
1248 T->isBlockPointerType()) {
3482 ? CK_BitCast : recExpr->getType()->isBlockPointerType()
3519 if (SubExpr->getType()->isBlockPointerType()) {
3540 } else if (userExpr->getType()->isBlockPointerType()) {
4266 else if (VD->getType()->isBlockPointerType())
4285 else if (VD->getType()->isBlockPointerType())
4475 VD->getType()->isBlockPointerType())
5207 if (Ty->isBlockPointerType())
5271 if (Ty->isBlockPointerType() || T
[all...]
/external/clang/lib/AST/
H A DExpr.cpp1429 assert(getSubExpr()->getType()->isBlockPointerType());
1444 assert(getType()->isBlockPointerType() ==
1445 getSubExpr()->getType()->isBlockPointerType());
1450 assert(getType()->isBlockPointerType());
1452 !getSubExpr()->getType()->isBlockPointerType());
1456 assert(getType()->isBlockPointerType());
1457 assert(getSubExpr()->getType()->isBlockPointerType());
H A DASTContext.cpp4725 return (Ty->isBlockPointerType() || isObjCNSObjectType(Ty) ||
4745 else if (Ty->isObjCObjectPointerType() || Ty->isBlockPointerType())
6338 if (Ty->isObjCObjectPointerType() || Ty->isBlockPointerType())
6349 assert(CT->isAnyPointerType() || CT->isBlockPointerType());
7115 if (LHS->isObjCIdType() && RHS->isBlockPointerType())
7117 if (RHS->isObjCIdType() && LHS->isBlockPointerType())
H A DType.cpp2390 isBlockPointerType() ||
2417 return isObjCObjectPointerType() || isBlockPointerType();
H A DDeclBase.cpp720 else if (BlocksToo && Ty->isBlockPointerType())
/external/clang/lib/Analysis/
H A DFormatString.cpp381 argTy->isBlockPointerType() || argTy->isNullPtrType();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DBasicObjCFoundationChecks.cpp786 if (ArgTy->isBlockPointerType())
/external/clang/include/clang/AST/
H A DType.h1528 bool isBlockPointerType() const;
4882 inline bool Type::isBlockPointerType() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::Type
5156 return (isPointerType() || isReferenceType() || isBlockPointerType() ||

Completed in 1002 milliseconds

12