[all-commits] [llvm/llvm-project] 165463: [clang][ASTImporter] Fix partially import of repea...

Ding Fei via All-commits all-commits at lists.llvm.org
Wed Aug 23 18:13:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1654634f6f8bc9a78c6c47f58e4f067fa9a7faef
      https://github.com/llvm/llvm-project/commit/1654634f6f8bc9a78c6c47f58e4f067fa9a7faef
  Author: dingfei <fding at feysh.com>
  Date:   2023-08-24 (Thu, 24 Aug 2023)

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

  Log Message:
  -----------
  [clang][ASTImporter] Fix partially import of repeated friend templates

Pointer comparison is not reliable in this case. Use ASTStructuralEquivalence
to compute FriendCountAndPosition.

Reviewed By: balazske

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




More information about the All-commits mailing list