[all-commits] [llvm/llvm-project] b8f056: [clang][AST][ASTImporter] improve AST comparasion ...

Qizhi Hu via All-commits all-commits at lists.llvm.org
Wed Sep 20 22:13:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8f056de025f5047bfed5573e65a8c840dbb76d4
      https://github.com/llvm/llvm-project/commit/b8f056de025f5047bfed5573e65a8c840dbb76d4
  Author: Qizhi Hu <836744285 at qq.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/unittests/AST/StructuralEquivalenceTest.cpp

  Log Message:
  -----------
  [clang][AST][ASTImporter] improve AST comparasion on VarDecl & GotoStmt (#66976)

improve AST comparasion on VarDecl & GotoStmt:
  1. VarDecl should not be ignored,
  2. GotoStmt has no children, it should be handle explicitly.

Reviewed By: donat.nagy

Differential Revision: https://reviews.llvm.org/D159519

Co-authored-by: huqizhi <836744285 at qq.com>




More information about the All-commits mailing list