[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

Ding Fei via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 15 03:33:25 PDT 2023


================
@@ -2320,5 +2320,14 @@ TEST_F(StructuralEquivalenceStmtTest, UnresolvedLookup) {
   EXPECT_TRUE(testStructuralMatch(t));
 }
 
+TEST_F(StructuralEquivalenceStmtTest, DeclRefENoEq) {
----------------
danix800 wrote:

```suggestion
TEST_F(StructuralEquivalenceStmtTest, DeclRefExpr) {
```

https://github.com/llvm/llvm-project/pull/66041


More information about the cfe-commits mailing list