Home
last modified time | relevance | path

Searched refs:RHSStripped (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp11220 Expr *RHSStripped = RHS->IgnoreParenImpCasts(); in diagnoseTautologicalComparison() local
11257 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 …]
/external/clang/lib/Sema/
DSemaExpr.cpp9058 Expr *RHSStripped = RHS.get()->IgnoreParenImpCasts(); in CheckCompareOperands() local
9079 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()