[all-commits] [llvm/llvm-project] 569e94: [C++20] [Modules] Don't diagnose duplicated declar...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 569e94f8f1c3e6998860e2b2ff577870433bdac9
      https://github.com/llvm/llvm-project/commit/569e94f8f1c3e6998860e2b2ff577870433bdac9
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp
    A clang/test/Modules/pr126373.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't diagnose duplicated declarations in different modules which is not in file scope

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

Although the root problems should be we shouldn't place the friend
declaration to the incorrect module, let's avoid bleeding the edge by
stoping diagnosing declarations not in file scope.



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