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

References

tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
  269   REGISTER_MATCHER(hasEitherOperand);
tools/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp
  288                            hasEitherOperand(SuspiciousNumberObjectExprM),
  289                            hasEitherOperand(SuspiciousScalarExprM
  296                            hasEitherOperand(SuspiciousNumberObjectExprM),
  297                            hasEitherOperand(SuspiciousScalarExprM)))
tools/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp
   86                         hasEitherOperand(ignoringParenImpCasts(declRefExpr(
   88                         hasEitherOperand(ignoringParenImpCasts(
tools/clang/tools/extra/clang-tidy/abseil/DurationAdditionCheck.cpp
   24                      hasEitherOperand(expr(ignoringParenImpCasts(
tools/clang/tools/extra/clang-tidy/abseil/DurationFactoryScaleCheck.cpp
  131                                  hasEitherOperand(ignoringImpCasts(
tools/clang/tools/extra/clang-tidy/abseil/DurationRewriter.h
  134       hasEitherOperand(ignoringImpCasts(callExpr(callee(funcDecl)))));
tools/clang/tools/extra/clang-tidy/abseil/StringFindStartswithCheck.cpp
   54           hasEitherOperand(ignoringParenImpCasts(ZeroLiteral)),
   55           hasEitherOperand(ignoringParenImpCasts(StringFind.bind("findexpr"))))
tools/clang/tools/extra/clang-tidy/bugprone/MisplacedWideningCastCheck.cpp
   51       binaryOperator(matchers::isComparisonOperator(), hasEitherOperand(Cast)),
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
  546                      hasEitherOperand(ignoringParenImpCasts(integerLiteral())));
  550                      hasEitherOperand(ignoringParenImpCasts(integerLiteral())));
tools/clang/tools/extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
  139       binaryOperator(hasEitherOperand(ArrayExpr)),
  166                        hasEitherOperand(ignoringParenImpCasts(SizeOfExpr)),
  167                        hasEitherOperand(ignoringParenImpCasts(
  208                      hasEitherOperand(ignoringParenImpCasts(SizeOfExpr)),
  209                      hasEitherOperand(ignoringParenImpCasts(binaryOperator(
  211                          hasEitherOperand(ignoringParenImpCasts(SizeOfExpr))))))
  238           hasEitherOperand(expr(anyOf(
  242                   hasEitherOperand(ignoringParenImpCasts(SizeOfExpr))))))),
  243           hasEitherOperand(ignoringParenImpCasts(PtrDiffExpr)))
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousEnumUsageCheck.cpp
  143                      hasEitherOperand(
  145                      hasEitherOperand(enumExpr("enumExpr", "enumDecl"))),
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp
  122                        hasEitherOperand(StringCompareCallExpr))))
  149           hasEitherOperand(StringCompareCallExpr))
  162                                     hasEitherOperand(StringCompareCallExpr),
  163                                     hasEitherOperand(InvalidLiteral))
tools/clang/tools/extra/clang-tidy/hicpp/SignedBitwiseCheck.cpp
   42                      hasEitherOperand(SignedIntegerOperand),
   52                      hasEitherOperand(SignedIntegerOperand),
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  388                                hasEitherOperand(matchSymbolicExpr(Id)),
  389                                hasEitherOperand(matchIntegerConstantExpr(Id))),
  658                      unless(hasEitherOperand(hasType(realFloatingPointType()))),
  708                      hasEitherOperand(ignoringParenImpCasts(binaryOperator(
  712                      hasEitherOperand(ignoringParenImpCasts(
  730                                     hasEitherOperand(BinOpCstLeft),
  731                                     hasEitherOperand(CstRight))
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp
   47           hasEitherOperand(ignoringImpCasts(stringLiteral().bind("assertMSG"))),
   48           anyOf(binaryOperator(hasEitherOperand(IsAlwaysFalseWithCast)),
tools/clang/tools/extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
   50                     hasEitherOperand(ignoringImpCasts(anyOf(
tools/clang/tools/extra/clang-tidy/readability/DeleteNullPointerCheck.cpp
   39       binaryOperator(hasEitherOperand(castExpr(hasCastKind(CK_NullToPointer))),
   40                      hasEitherOperand(PointerExpr));
tools/clang/tools/extra/clang-tidy/readability/RedundantSmartptrGetCheck.cpp
   85                      hasEitherOperand(ignoringImpCasts(
   88                      hasEitherOperand(callToGet(knownSmartptr()))),
tools/clang/tools/extra/clang-tidy/readability/StringCompareCheck.cpp
   45                      hasEitherOperand(StrCompare.bind("compare")),
   46                      hasEitherOperand(integerLiteral(equals(0)).bind("zero")))
tools/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
 1123     binaryOperator(hasEitherOperand(cxxBoolLiteral(equals(false))));