Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp738 const auto *BinOpLhs = cast<BinaryOperator>(BinOp->getLHS()); in retrieveConstExprFromBothSides() local
745 LhsConst = IsIntegerConstantExpr(BinOpLhs->getLHS()) ? BinOpLhs->getLHS() in retrieveConstExprFromBothSides()
746 : BinOpLhs->getRHS(); in retrieveConstExprFromBothSides()
753 assert(BinOpLhs->getOpcode() == BinOpRhs->getOpcode() && in retrieveConstExprFromBothSides()
756 SideOpcode = BinOpLhs->getOpcode(); in retrieveConstExprFromBothSides()