Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp739 const auto *BinOpRhs = cast<BinaryOperator>(BinOp->getRHS()); in retrieveConstExprFromBothSides() local
747 RhsConst = IsIntegerConstantExpr(BinOpRhs->getLHS()) ? BinOpRhs->getLHS() in retrieveConstExprFromBothSides()
748 : BinOpRhs->getRHS(); in retrieveConstExprFromBothSides()
753 assert(BinOpLhs->getOpcode() == BinOpRhs->getOpcode() && in retrieveConstExprFromBothSides()