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
   59   if (!Left || !Right)
   60     return !Left && !Right;
   62   Left = Left->IgnoreParens();
   62   Left = Left->IgnoreParens();
   66   if (Left->getStmtClass() != Right->getStmtClass())
   70   Expr::const_child_iterator LeftIter = Left->child_begin();
   72   while (LeftIter != Left->child_end() && RightIter != Right->child_end()) {
   79   if (LeftIter != Left->child_end() || RightIter != Right->child_end())
   83   switch (Left->getStmtClass()) {
   88     return cast<CharacterLiteral>(Left)->getValue() ==
   91     llvm::APInt LeftLit = cast<IntegerLiteral>(Left)->getValue();
   97     return cast<FloatingLiteral>(Left)->getValue().bitwiseIsEqual(
  100     return cast<StringLiteral>(Left)->getBytes() ==
  103     return cast<CXXOperatorCallExpr>(Left)->getOperator() ==
  106     if (cast<DependentScopeDeclRefExpr>(Left)->getDeclName() !=
  110         cast<DependentScopeDeclRefExpr>(Left)->getQualifier(),
  113     return cast<DeclRefExpr>(Left)->getDecl() ==
  116     return cast<MemberExpr>(Left)->getMemberDecl() ==
  120     return cast<ExplicitCastExpr>(Left)->getTypeAsWritten() ==
  127     if (cast<UnaryOperator>(Left)->isIncrementDecrementOp())
  129     return cast<UnaryOperator>(Left)->getOpcode() ==
  132     return cast<BinaryOperator>(Left)->getOpcode() ==