[all-commits] [llvm/llvm-project] fccc6e: [C++20] [Modules] Don't make enum constant members...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Sun Jun 22 23:41:22 PDT 2025


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

  Changed paths:
    M clang/lib/Sema/SemaLookup.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/include-after-imports-enums.cppm
    A clang/test/Modules/pr131058.cppm

  Log Message:
  -----------
  [C++20] [Modules] Don't make enum constant members always visible

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

See the comments in
ASTWriter.cpp:ASTDeclContextNameLookupTrait::getLookupVisibility and
SemaLookup.cpp:Sema::makeMergedDefinitionVisible for details.



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