Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp11219 Expr *LHSStripped = LHS->IgnoreParenImpCasts(); in diagnoseTautologicalComparison() local
11256 if (S.getLangOpts().CPlusPlus20 && LHSStripped->getType()->isArrayType() && in diagnoseTautologicalComparison()
11260 << LHSStripped->getType() << RHSStripped->getType(); in diagnoseTautologicalComparison()
11291 } else if (checkForArray(LHSStripped) && checkForArray(RHSStripped)) { in diagnoseTautologicalComparison()
11313 if (isa<CastExpr>(LHSStripped)) in diagnoseTautologicalComparison()
11314 LHSStripped = LHSStripped->IgnoreParenCasts(); in diagnoseTautologicalComparison()
11322 if ((isa<StringLiteral>(LHSStripped) || isa<ObjCEncodeExpr>(LHSStripped)) && in diagnoseTautologicalComparison()
11326 LiteralStringStripped = LHSStripped; in diagnoseTautologicalComparison()
11329 !LHSStripped->isNullPointerConstant(S.Context, in diagnoseTautologicalComparison()
11432 ExprResult LHSStripped = LHS.get()->IgnoreParenImpCasts(); in checkArithmeticOrEnumeralThreeWayCompare() local
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp9057 Expr *LHSStripped = LHS.get()->IgnoreParenImpCasts(); in CheckCompareOperands() local
9078 ValueDecl *DL = getCompareDecl(LHSStripped); in CheckCompareOperands()
9108 if (isa<CastExpr>(LHSStripped)) in CheckCompareOperands()
9109 LHSStripped = LHSStripped->IgnoreParenCasts(); in CheckCompareOperands()
9117 if ((isa<StringLiteral>(LHSStripped) || isa<ObjCEncodeExpr>(LHSStripped)) && in CheckCompareOperands()
9121 literalStringStripped = LHSStripped; in CheckCompareOperands()
9124 !LHSStripped->isNullPointerConstant(Context, in CheckCompareOperands()