================
@@ -4334,6 +4345,7 @@ bool Expr::isSameComparisonOperand(const Expr* E1, const
Expr* E2) {
switch (E1->getStmtClass()) {
default:
return false;
+ case CThisExprClass:
case CXXThisExprClass:
----------------
Caryoake wrote:
Since this case is hit when Clang evaluates comparisons for tautological
warnings, on expressions inside bounds attributes, I'd say its required.
https://github.com/llvm/llvm-project/pull/199241
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits