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

References

tools/clang/lib/Sema/SemaExpr.cpp
10692       (RHSType->isArithmeticType() || RHSType->isEnumeralType()))
10692       (RHSType->isArithmeticType() || RHSType->isEnumeralType()))
10751       (RHSType->isIntegerType() && !RHSIsNull)) {
10760         ((LHSType->isFunctionPointerType() && RHSType->isVoidPointerType()) ||
10761          (RHSType->isFunctionPointerType() && LHSType->isVoidPointerType()))) {
10784     if ((int)LHSType->isPointerType() + (int)RHSType->isPointerType() >=
10787                                          RHSType->isObjCObjectPointerType()))) {
10793              RHSType->isPointerType()) { // C99 6.5.8p2
10799       RHSType->castAs<PointerType>()->getPointeeType().getCanonicalType();
10807           << LHSType << RHSType << LHS.get()->getSourceRange()
10825         if (!LHSPtr->isAddressSpaceOverlapping(*RHSType->castAs<PointerType>())) {
10828               << LHSType << RHSType << 0 /* comparison */
10837         LHS = ImpCastExprToType(LHS.get(), RHSType, Kind);
10853       if (RHSType->isNullPtrType()) {
10854         LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10861     if (!IsRelational && RHSType->isNullPtrType() &&
10867         (RHSType->isObjCObjectPointerType() || RHSType->isBlockPointerType())) {
10867         (RHSType->isObjCObjectPointerType() || RHSType->isBlockPointerType())) {
10868       LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10873         ((LHSType->isNullPtrType() && RHSType->isPointerType()) ||
10874          (RHSType->isNullPtrType() && LHSType->isPointerType()))) {
10888           if (RHSType->isNullPtrType())
10891             LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
10901         (LHSType->isMemberPointerType() || RHSType->isMemberPointerType())) {
10911       RHSType->isBlockPointerType()) {
10913     QualType rpointee = RHSType->castAs<BlockPointerType>()->getPointeeType();
10918         << LHSType << RHSType << LHS.get()->getSourceRange()
10927       && ((LHSType->isBlockPointerType() && RHSType->isPointerType())
10928           || (LHSType->isPointerType() && RHSType->isBlockPointerType()))) {
10930       if (!((RHSType->isPointerType() && RHSType->castAs<PointerType>()
10930       if (!((RHSType->isPointerType() && RHSType->castAs<PointerType>()
10935           << LHSType << RHSType << LHS.get()->getSourceRange()
10939       LHS = ImpCastExprToType(LHS.get(), RHSType,
10940                               RHSType->isPointerType() ? CK_BitCast
10950       RHSType->isObjCObjectPointerType()) {
10952     const PointerType *RPT = RHSType->getAs<PointerType>();
10958           !Context.typesAreCompatible(LHSType, RHSType)) {
10965           CheckObjCConversion(SourceRange(), RHSType, E,
10967         LHS = ImpCastExprToType(E, RHSType,
10982         RHSType->isObjCObjectPointerType()) {
10983       if (!Context.areComparableObjCPointerTypes(LHSType, RHSType))
10990         LHS = ImpCastExprToType(LHS.get(), RHSType, CK_BitCast);
10997         RHSType->isBlockCompatibleObjCPointerType(Context)) {
10998       LHS = ImpCastExprToType(LHS.get(), RHSType,
11003                RHSType->isBlockPointerType()) {
11009   if ((LHSType->isAnyPointerType() && RHSType->isIntegerType()) ||
11010       (LHSType->isIntegerType() && RHSType->isAnyPointerType())) {
11017                (RHSIsNull && RHSType->isIntegerType())) {
11034         << LHSType << RHSType << LHS.get()->getSourceRange()
11041       LHS = ImpCastExprToType(LHS.get(), RHSType,
11051       && LHSType->isBlockPointerType() && RHSType->isIntegerType()) {
11056       && LHSType->isIntegerType() && RHSType->isBlockPointerType()) {
11057     LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);
11062     if (LHSType->isClkEventT() && RHSType->isClkEventT()) {
11066     if (LHSType->isQueueT() && RHSType->isQueueT()) {
11070     if (LHSIsNull && RHSType->isQueueT()) {
11071       LHS = ImpCastExprToType(LHS.get(), RHSType, CK_NullToPointer);