[clang] [clang-tools-extra] [llvm] [mlir] [clang][lldb][mlir] Fix some identical sub-expressions warnings (NFC) (PR #95715)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 10:59:19 PDT 2024
================
@@ -96,7 +96,7 @@ bool areStatementsIdentical(const Stmt *FirstStmt, const Stmt *SecondStmt,
if (FirstStmt == SecondStmt)
return true;
- if (FirstStmt->getStmtClass() != FirstStmt->getStmtClass())
+ if (FirstStmt->getStmtClass() != SecondStmt->getStmtClass())
----------------
AaronBallman wrote:
This looks like a functional change, it would be good to have a test for it.
https://github.com/llvm/llvm-project/pull/95715
More information about the cfe-commits
mailing list