[all-commits] [llvm/llvm-project] d82963: [C++20] [Modules] Don't mark namespace decl as mod...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Jun 26 22:35:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d829636f5d71d8a3771d9f96f22f1fe7507a32ec
      https://github.com/llvm/llvm-project/commit/d829636f5d71d8a3771d9f96f22f1fe7507a32ec
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-06-27 (Fri, 27 Jun 2025)

  Changed paths:
    M clang/lib/AST/DeclBase.cpp
    A clang/test/Modules/pr145975.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't mark namespace decl as module local declaration

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

According to [basic.namespace.general]/p2:
> A namespace is never attached to a named module and never has a name
> with module linkage.



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