Searched refs:RHSStripped (Results 1 – 2 of 2) sorted by relevance
11220 Expr *RHSStripped = RHS->IgnoreParenImpCasts(); in diagnoseTautologicalComparison() local11257 RHSStripped->getType()->isArrayType()) { in diagnoseTautologicalComparison()11260 << LHSStripped->getType() << RHSStripped->getType(); in diagnoseTautologicalComparison()11291 } else if (checkForArray(LHSStripped) && checkForArray(RHSStripped)) { in diagnoseTautologicalComparison()11315 if (isa<CastExpr>(RHSStripped)) in diagnoseTautologicalComparison()11316 RHSStripped = RHSStripped->IgnoreParenCasts(); in diagnoseTautologicalComparison()11323 !RHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison()11327 } else if ((isa<StringLiteral>(RHSStripped) || in diagnoseTautologicalComparison()11328 isa<ObjCEncodeExpr>(RHSStripped)) && in diagnoseTautologicalComparison()11332 LiteralStringStripped = RHSStripped; in diagnoseTautologicalComparison()[all …]
9058 Expr *RHSStripped = RHS.get()->IgnoreParenImpCasts(); in CheckCompareOperands() local9079 ValueDecl *DR = getCompareDecl(RHSStripped); in CheckCompareOperands()9110 if (isa<CastExpr>(RHSStripped)) in CheckCompareOperands()9111 RHSStripped = RHSStripped->IgnoreParenCasts(); in CheckCompareOperands()9118 !RHSStripped->isNullPointerConstant(Context, in CheckCompareOperands()9122 } else if ((isa<StringLiteral>(RHSStripped) || in CheckCompareOperands()9123 isa<ObjCEncodeExpr>(RHSStripped)) && in CheckCompareOperands()9127 literalStringStripped = RHSStripped; in CheckCompareOperands()