================ @@ -214,6 +214,14 @@ class StmtComparer { return E1->size() == E2->size(); } + bool IsStmtEquivalent(const DeclRefExpr *DRE1, const DeclRefExpr *DRE2) { + if (nullptr == DRE1->getDecl() || nullptr == DRE2->getDecl()) { ---------------- cor3ntin wrote:
```suggestion if (!DRE1->getDecl() || !DRE2->getDecl()) { ``` https://github.com/llvm/llvm-project/pull/66041 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits