Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp995 if (const auto *ComparisonOperator = Result.Nodes.getNodeAs<BinaryOperator>( in checkArithmeticExpr() local
997 BinaryOperatorKind Opcode = ComparisonOperator->getOpcode(); in checkArithmeticExpr()
1008 diag(ComparisonOperator->getOperatorLoc(), in checkArithmeticExpr()
1012 diag(ComparisonOperator->getOperatorLoc(), in checkArithmeticExpr()
1015 } else if (const auto *ComparisonOperator = in checkArithmeticExpr() local
1018 BinaryOperatorKind Opcode = ComparisonOperator->getOpcode(); in checkArithmeticExpr()
1034 diag(ComparisonOperator->getOperatorLoc(), in checkArithmeticExpr()
1040 diag(ComparisonOperator->getOperatorLoc(), in checkArithmeticExpr()
1064 if (const auto *ComparisonOperator = Result.Nodes.getNodeAs<BinaryOperator>( in checkBitwiseExpr() local
1066 BinaryOperatorKind Opcode = ComparisonOperator->getOpcode(); in checkBitwiseExpr()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSuspiciousStringCompareCheck.cpp89 const auto ComparisonOperator = in registerMatchers() local