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

References

tools/clang/lib/Sema/SemaExpr.cpp
 7472       (Context.hasSameType(RHSTy, Context.getObjCClassRedefinitionType()))) {
 7476   if (RHSTy->isObjCClassType() &&
 7478     LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
 7479     return RHSTy;
 7483       (Context.hasSameType(RHSTy, Context.getObjCIdRedefinitionType()))) {
 7487   if (RHSTy->isObjCIdType() &&
 7489     LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_CPointerToObjCPointerCast);
 7490     return RHSTy;
 7494       (Context.hasSameType(RHSTy, Context.getObjCSelRedefinitionType()))) {
 7498   if (Context.isObjCSelType(RHSTy) &&
 7500     LHS = ImpCastExprToType(LHS.get(), RHSTy, CK_BitCast);
 7501     return RHSTy;
 7504   if (LHSTy->isObjCObjectPointerType() && RHSTy->isObjCObjectPointerType()) {
 7506     if (Context.getCanonicalType(LHSTy) == Context.getCanonicalType(RHSTy)) {
 7511     const ObjCObjectPointerType *RHSOPT = RHSTy->castAs<ObjCObjectPointerType>();
 7531       compositeType = RHSOPT->isObjCBuiltinType() ? RHSTy : LHSTy;
 7533       compositeType = LHSOPT->isObjCBuiltinType() ? LHSTy : RHSTy;
 7543     } else if (LHSTy->isObjCIdType() || RHSTy->isObjCIdType()) {
 7547       << LHSTy << RHSTy
 7560   if (LHSTy->isVoidPointerType() && RHSTy->isObjCObjectPointerType()) {
 7564       Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
 7570     QualType rhptee = RHSTy->castAs<ObjCObjectPointerType>()->getPointeeType();
 7580   if (LHSTy->isObjCObjectPointerType() && RHSTy->isVoidPointerType()) {
 7584       Diag(QuestionLoc, diag::err_cond_voidptr_arc) << LHSTy << RHSTy
 7590     QualType rhptee = RHSTy->castAs<PointerType>()->getPointeeType();