Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp730 const Expr *&LhsConst, in retrieveConstExprFromBothSides() argument
745 LhsConst = IsIntegerConstantExpr(BinOpLhs->getLHS()) ? BinOpLhs->getLHS() in retrieveConstExprFromBothSides()
750 if (!LhsConst || !RhsConst) in retrieveConstExprFromBothSides()
1145 const Expr *LhsConst = nullptr, *RhsConst = nullptr; in checkRelationalExpr() local
1150 Result, "lhs", LhsExpr, LhsOpcode, LhsSymbol, LhsValue, LhsConst) || 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 …]