We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9d062 commit f948b16Copy full SHA for f948b16
clang-tools-extra/clang-tidy/modernize/UseStartsEndsWithCheck.cpp
@@ -72,7 +72,6 @@ struct NotLengthExprForStringNode {
72
};
73
74
static bool isNegativeComparison(const Expr *ComparisonExpr) {
75
- // Handle direct != operator
76
if (const auto *BO = llvm::dyn_cast<BinaryOperator>(ComparisonExpr)) {
77
return BO->getOpcode() == BO_NE;
78
}
0 commit comments