[all-commits] [llvm/llvm-project] 378dcf: [C++20] [Modules] Fix may-be incorrect ADL for mod...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Jan 23 18:51:32 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 378dcf61014b787b3542b917f6296c9fb5ec490c
      https://github.com/llvm/llvm-project/commit/378dcf61014b787b3542b917f6296c9fb5ec490c
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    A clang/test/Modules/module-local-hidden-friend-2.cppm

  Log Message:
  -----------
  [C++20] [Modules] Fix may-be incorrect ADL for module local entities (#123931)

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

See the comments for details. We can't get primary context arbitrarily
since the redecl may have different context and information.

There is a TODO for modules specific case, I'd like to make it after
this PR.



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