[all-commits] [llvm/llvm-project] 01b3bd: [ASTImporter] Remove ASTNodeImporter::IsStructural...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Sat Oct 30 04:12:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01b3bd3992b4b79ef103558eccc49981e97be479
      https://github.com/llvm/llvm-project/commit/01b3bd3992b4b79ef103558eccc49981e97be479
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2021-10-30 (Sat, 30 Oct 2021)

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

  Log Message:
  -----------
  [ASTImporter] Remove ASTNodeImporter::IsStructuralMatch overload for EnumConstantDecl

1. Moves the check to ASTStructuralEquivalence.cpp like all the other checks.

2. Adds the missing checks for identifier and init expression. Also add the
respective tests for that stuff.

Reviewed By: martong

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




More information about the All-commits mailing list