Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DContainerSizeEmptyCheck.cpp130 const bool ContainerIsLHS = in check() local
134 if (ContainerIsLHS) { in check()
156 if ((OpCode == BinaryOperatorKind::BO_GE && Value == 0 && ContainerIsLHS) || in check()
157 (OpCode == BinaryOperatorKind::BO_LE && Value == 0 && !ContainerIsLHS)) in check()
162 if ((OpCode == BinaryOperatorKind::BO_GT && ContainerIsLHS) || in check()
163 (OpCode == BinaryOperatorKind::BO_LT && !ContainerIsLHS)) in check()
165 if ((OpCode == BinaryOperatorKind::BO_LE && ContainerIsLHS) || in check()
166 (OpCode == BinaryOperatorKind::BO_GE && !ContainerIsLHS)) in check()
174 ContainerIsLHS) in check()
178 !ContainerIsLHS) in check()