reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  979   if (const auto *BinOp = Result.Nodes.getNodeAs<BinaryOperator>("binary")) {
  982     if (areSidesBinaryConstExpressions(BinOp, Result.Context)) {
  987                                           LhsConst, RhsConst, Result.Context))
  990       if (areExprsFromDifferentMacros(LhsConst, RhsConst, Result.Context) ||
  999           Result.Nodes.getNodeAs<ConditionalOperator>("cond")) {
 1003     if (areExprsFromDifferentMacros(TrueExpr, FalseExpr, Result.Context) ||
 1010   if (const auto *Call = Result.Nodes.getNodeAs<CXXOperatorCallExpr>("call")) {
 1023           Result.Nodes.getNodeAs<UnaryOperator>("logical-bitwise-confusion")) {
 1036   if (const auto *BinaryAndExpr = Result.Nodes.getNodeAs<BinaryOperator>(
 1038     const auto *ShiftingConst = Result.Nodes.getNodeAs<Expr>("shift-const");
 1042     if (!ShiftingConst->isIntegerConstantExpr(ShiftingValue, *Result.Context))
 1045     const auto *AndConst = Result.Nodes.getNodeAs<Expr>("and-const");
 1048     if (!AndConst->isIntegerConstantExpr(AndValue, *Result.Context))
 1066   checkArithmeticExpr(Result);
 1074   checkBitwiseExpr(Result);
 1082   checkRelationalExpr(Result);