Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DRedundantExpressionCheck.cpp160 BinaryOperatorKind OpcodeRHS, in areEquivalentRanges() argument
166 return OpcodeLHS == OpcodeRHS; in areEquivalentRanges()
170 return ((OpcodeLHS == BO_LE && OpcodeRHS == BO_LT) || in areEquivalentRanges()
171 (OpcodeLHS == BO_GT && OpcodeRHS == BO_GE)) && in areEquivalentRanges()
180 BinaryOperatorKind OpcodeRHS, in areExclusiveRanges() argument
189 return OpcodeRHS == BO_NE || OpcodeRHS == BO_GT || OpcodeRHS == BO_LT; in areExclusiveRanges()
191 return OpcodeRHS == BO_EQ; in areExclusiveRanges()
193 return OpcodeRHS == BO_GT; in areExclusiveRanges()
195 return OpcodeRHS == BO_LT; in areExclusiveRanges()
197 return OpcodeRHS == BO_EQ || OpcodeRHS == BO_GT || OpcodeRHS == BO_GE; in areExclusiveRanges()
[all …]