[all-commits] [llvm/llvm-project] 0d363c: [C++20] [Modules] Don't diagnose duplicated friend...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Feb 10 13:22:55 PST 2025


  Branch: refs/heads/release/20.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d363c30b875e91a9f8e20a17b5dc7281e58cf2e
      https://github.com/llvm/llvm-project/commit/0d363c30b875e91a9f8e20a17b5dc7281e58cf2e
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-02-10 (Mon, 10 Feb 2025)

  Changed paths:
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    A clang/test/Modules/pr125521.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't diagnose duplicated friend declarations between modules incorrectly

Close https://github.com/llvm/llvm-project/issues/125521

We shouldn't use the ownership information for friend declarations to do
anything.

(cherry picked from commit c5a9a72b3cd118a23193d01bf9393fbf1d4b90ae)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list