Home
last modified time | relevance | path

Searched refs:isObjCIdType (Results 1 – 25 of 26) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp454 if (OldTy->isObjCIdType() && !NewTy->isObjCIdType()) in getBetterObjCType()
691 LowerBound = LowerBound->isObjCIdType() ? UpperBound : LowerBound; in checkPostStmt()
692 UpperBound = UpperBound->isObjCIdType() ? LowerBound : UpperBound; in checkPostStmt()
752 if (ReceiverType->isObjCIdType() || ReceiverType->isObjCClassType() || in findMethodDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCocoaConventions.cpp77 if (PT->isObjCIdType() || PT->isObjCQualifiedIdType() || in isCocoaObjectRef()
H A DRetainSummaryManager.cpp311 return RetTy->isObjCIdType() ? getUnarySummary(FT, DoNothing) in getSummaryForObjCOrCFObject()
730 if (ResultTy->isObjCIdType()) { in canEval()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaPseudoObject.cpp847 if (result.get()->getType()->isObjCIdType()) { in buildRValueOperation()
850 if (!ptr->isObjCIdType()) in buildRValueOperation()
1096 else if (CT->isObjCIdType() ||CT->isBlockPointerType()) { in CheckSubscriptingKind()
1212 if (!BaseT->isObjCIdType()) { in findAtIndexGetter()
1328 if (!BaseT->isObjCIdType()) { in findAtIndexSetter()
H A DSemaExprObjC.cpp3142 if (ReceiverType->isObjCIdType() && !isImplicit) { in BuildInstanceMessage()
3180 } else if (ReceiverType->isObjCIdType() && !isImplicit) { in BuildInstanceMessage()
4035 } else if (castType->isObjCIdType() || in CheckObjCBridgeNSCast()
4052 } else if (!castType->isObjCIdType()) { in CheckObjCBridgeNSCast()
4102 } else if (castExpr->getType()->isObjCIdType() || in CheckObjCBridgeCFCast()
H A DSemaDeclObjC.cpp2307 if (rejectId && B->isObjCIdType()) return false; in isObjCTypeSubstitutable()
3719 else if (ObjectType->isObjCIdType() || ObjectType->isObjCQualifiedIdType()) in SelectorsForTypoCorrection()
4250 if (ResultObjectType->isObjCIdType() || in CheckRelatedResultTypeCompatibility()
5163 } else if (T->isObjCIdType()) { in BuildObjCExceptionDecl()
H A DSemaOverload.cpp2522 if (ToType->isObjCIdType() || ToType->isObjCQualifiedIdType()) in BuildSimilarlyQualifiedPointerType()
4653 if (ToPtr1->isObjCIdType() && in CompareDerivedToBaseConversions()
4656 if (ToPtr2->isObjCIdType() && in CompareDerivedToBaseConversions()
4685 !FromPtr1->isObjCIdType() && !FromPtr1->isObjCClassType() && in CompareDerivedToBaseConversions()
7073 if (ReturnT->isObjCIdType()) in SelectBestMethod()
8589 if (Ty->isObjCIdType() || Ty->isObjCClassType()) in AddTypesConvertedFrom()
H A DSemaExpr.cpp9391 if (LHSTy->isObjCIdType() && in FindCompositeObjCPointerType()
9396 if (RHSTy->isObjCIdType() && in FindCompositeObjCPointerType()
9452 } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) { in FindCompositeObjCPointerType()
10352 if (getLangOpts().ObjC && RHSType->isObjCIdType()) { in CheckAssignmentConstraints()
12538 if (Type->isObjCIdType()) { in hasIsEqualMethod()
17597 if (!PT->isObjCIdType() && in CheckConversionToObjCLiteral()
H A DSemaType.cpp969 if (typeArgObjC->isObjCIdType()) { in applyObjCTypeArgs()
972 if (boundObjC->isObjCIdType()) in applyObjCTypeArgs()
9845 if (!BaseType->isAnyPointerType() || BaseType->isObjCIdType()) in BuiltinRemovePointer()
H A DSemaCodeComplete.cpp1689 T->isObjCIdType() || in IsObjCCollection()
8250 if (ReceiverType->isObjCIdType() || ReceiverType->isObjCClassType()) { in CodeCompleteObjCInstanceMessage()
8325 else if (ReceiverType->isObjCIdType()) { in CodeCompleteObjCInstanceMessage()
H A DSemaDeclAttr.cpp1544 if (!QT->isObjCIdType() && !QT->isObjCObjectType()) { in handleIBOutletCollection()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DCanonicalType.h602 LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCIdType)
H A DType.h2308 bool isObjCIdType() const; // id
6539 bool isObjCIdType() const {
7245 inline bool Type::isObjCIdType() const {
7247 return OPT->isObjCIdType();
7264 return isObjCIdType() || isObjCClassType() || isObjCSelType();
H A DASTContext.h2860 bool isObjCIdType(QualType T) const { in isObjCIdType() function
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1018 if (OM->getReturnType()->isObjCIdType()) in migrateMethodInstanceType()
1025 if (!OM->getReturnType()->isObjCIdType()) in migrateMethodInstanceType()
1294 !OM->getReturnType()->isObjCIdType()) in migrateFactoryMethod()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1113 if (!isInstanceMethod() || !getReturnType()->isObjCIdType()) in getMethodFamily()
1129 if (!ArgT->isObjCIdType()) { in getMethodFamily()
H A DTypePrinter.cpp254 CanPrefixQualifiers = T->isObjCIdType() || T->isObjCClassType() || in canPrefixQualifiers()
2009 if (!T->isObjCIdType() && !T->isObjCQualifiedIdType() && in printObjCObjectPointerBefore()
H A DASTContext.cpp5420 if (type->isObjCIdType()) { in applyObjCProtocolQualifiers()
8398 if (Ty->isObjCIdType()) { in getObjCEncodingForTypeImpl()
8438 if (OPT->isObjCIdType()) { in getObjCEncodingForTypeImpl()
9677 if (lhs->isObjCIdType() || rhs->isObjCIdType()) in ObjCQualifiedIdTypesAreCompatible()
9865 if (RHSOPT->isObjCBuiltinType() || LHSOPT->isObjCIdType()) in canAssignObjCInterfacesInBlockPointer()
9987 if ((lhsOPT && lhsOPT->isObjCIdType() && rhsBlock) || in canAssignObjCObjectTypes()
9988 (rhsOPT && rhsOPT->isObjCIdType() && lhsBlock)) in canAssignObjCObjectTypes()
10620 if (LHS->isObjCIdType() && RHS->isBlockPointerType()) in mergeTypes()
10622 if (RHS->isObjCIdType() && LHS->isBlockPointerType()) in mergeTypes()
H A DType.cpp715 if (OPT->isObjCIdType()) in isObjCIdOrObjectKindOfType()
4631 if (objcPtr->isObjCIdType()) { in isBlockCompatibleObjCPointerType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp115 if (!Ctx.isObjCIdType(Receiver->getType().getUnqualifiedType())) in maybeAdjustInterfaceForSubscriptingCheck()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp400 if (PT->isObjCQualifiedIdType() || PT->isObjCIdType() || in GetReturnType()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp285 if (T->isObjCIdType()) { in getFragmentsForType()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp2502 if (T->isObjCIdType() || T->isObjCQualifiedIdType()) { in GetEHType()
2533 if (T->isObjCIdType() || in GetEHType()
H A DCGObjCMac.cpp1900 if (T->isObjCIdType() || in GetEHType()
4730 if (OPT && (OPT->isObjCIdType() || OPT->isObjCQualifiedIdType())) in EmitTryOrSynchronizedStmt()
7734 if (T->isObjCIdType() || T->isObjCQualifiedIdType()) { in GetEHType()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3704 if (!qual_type->isObjCClassType() && !qual_type->isObjCIdType()) { in IsObjCObjectPointerType()

12