Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp712 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in areSidesBinaryConstExpressions() local
716 if ((IsIntegerConstantExpr(LhsBinOp->getLHS()) || in areSidesBinaryConstExpressions()
717 IsIntegerConstantExpr(LhsBinOp->getRHS())) && in areSidesBinaryConstExpressions()
718 (IsIntegerConstantExpr(RhsBinOp->getLHS()) || in areSidesBinaryConstExpressions()
719 IsIntegerConstantExpr(RhsBinOp->getRHS()))) in areSidesBinaryConstExpressions()
741 auto IsIntegerConstantExpr = [AstCtx](const Expr *E) { in retrieveConstExprFromBothSides() local
745 LhsConst = IsIntegerConstantExpr(BinOpLhs->getLHS()) ? BinOpLhs->getLHS() in retrieveConstExprFromBothSides()
747 RhsConst = IsIntegerConstantExpr(BinOpRhs->getLHS()) ? BinOpRhs->getLHS() in retrieveConstExprFromBothSides()