improve AST comparasion on VarDecl & GotoStmt:
- VarDecl should not be ignored,
- GotoStmt has no children, it should be handle explicitly.
Paths
| Differential D159519
[clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt ClosedPublic Authored by jcsxky on Sep 14 2023, 7:47 PM.
Details Summary improve AST comparasion on VarDecl & GotoStmt:
Diff Detail
Event Timelinejcsxky retitled this revision from [clang][ASTImport] improve ast comparation to [clang][ASTImport] improve AST comparasion on VarDecl & GotoStmt.Sep 15 2023, 3:01 AM jcsxky retitled this revision from [clang][ASTImport] improve AST comparasion on VarDecl & GotoStmt to [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt.Sep 15 2023, 9:06 AM Comment Actions LGTM. I'm not very familiar with this area, but the change seems to be a very clean improvement. This revision is now accepted and ready to land.Sep 19 2023, 2:38 AM Closed by commit rGb8f056de025f: [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (#66976) (authored by jcsxky, committed by GitHub <noreply@github.com>). · Explain WhySep 20 2023, 10:13 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 556822 clang/lib/AST/ASTStructuralEquivalence.cpp
clang/unittests/AST/StructuralEquivalenceTest.cpp
|