Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp731 const Expr *&RhsConst, in retrieveConstExprFromBothSides() argument
747 RhsConst = IsIntegerConstantExpr(BinOpRhs->getLHS()) ? BinOpRhs->getLHS() in retrieveConstExprFromBothSides()
750 if (!LhsConst || !RhsConst) in retrieveConstExprFromBothSides()
1145 const Expr *LhsConst = nullptr, *RhsConst = nullptr; in checkRelationalExpr() local
1152 Result, "rhs", RhsExpr, RhsOpcode, RhsSymbol, RhsValue, RhsConst) || in checkRelationalExpr()
1165 if (areExprsFromDifferentMacros(LhsConst, RhsConst, Result.Context) || in checkRelationalExpr()
1166 areExprsMacroAndNonMacro(LhsConst, RhsConst)) in checkRelationalExpr()
1205 const Expr *LhsConst = nullptr, *RhsConst = nullptr; in check() local
1209 LhsConst, RhsConst, Result.Context)) in check()
1212 if (areExprsFromDifferentMacros(LhsConst, RhsConst, Result.Context) || in check()
[all …]