Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp993 BinaryOperatorKind LhsOpcode, RhsOpcode; in checkArithmeticExpr() local
998 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkArithmeticExpr()
1005 if (LhsOpcode == BO_Add || LhsOpcode == BO_Sub) { in checkArithmeticExpr()
1020 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkArithmeticExpr()
1027 transformSubToCanonicalAddExpr(LhsOpcode, LhsValue); in checkArithmeticExpr()
1031 if (LhsOpcode == BO_Add && RhsOpcode == BO_Add) { in checkArithmeticExpr()
1070 BinaryOperatorKind LhsOpcode; in checkBitwiseExpr() local
1071 if (!retrieveBinOpIntegerConstantExpr(Result, "lhs", LhsOpcode, LhsSymbol, in checkBitwiseExpr()
1081 if (LhsOpcode == BO_And && (LhsConstant & RhsConstant) != RhsConstant) { in checkBitwiseExpr()
1089 if (LhsOpcode == BO_Or && (LhsConstant | RhsConstant) != RhsConstant) { in checkBitwiseExpr()
[all …]