This is an archive of the discontinued LLVM Phabricator instance.

[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:

  1. VarDecl should not be ignored,
  2. GotoStmt has no children, it should be handle explicitly.

Diff Detail

Event Timeline

jcsxky created this revision.Sep 14 2023, 7:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 14 2023, 7:47 PM
jcsxky requested review of this revision.Sep 14 2023, 7:47 PM
jcsxky 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 edited the summary of this revision. (Show Details)
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
jcsxky updated this revision to Diff 556861.Sep 15 2023, 9:10 AM

update according to llvm convention.

donat.nagy accepted this revision.Sep 19 2023, 2:38 AM

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