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 02ae197 commit 61eb6feCopy full SHA for 61eb6fe
clang-tools-extra/clang-tidy/misc/RedundantExpressionCheck.cpp
@@ -927,8 +927,6 @@ static bool areExprsSameMacroOrLiteral(const BinaryOperator *BinOp,
927
if (Lil && Ril)
928
return Lil->getValue() == Ril->getValue();
929
930
- const auto *LStrl = dyn_cast<StringLiteral>(Lhs);
931
- const auto *RStrl = dyn_cast<StringLiteral>(Rhs);
932
const auto *Lbl = dyn_cast<CXXBoolLiteralExpr>(Lhs);
933
const auto *Rbl = dyn_cast<CXXBoolLiteralExpr>(Rhs);
934
if (Lbl && Rbl)
0 commit comments