[all-commits] [llvm/llvm-project] c560f1: [Serialization] Stop demote var definition as decl...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Tue Jan 13 18:54:25 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c560f1cf03aa06c0bdd00c5a9b558c16d882af6f
      https://github.com/llvm/llvm-project/commit/c560f1cf03aa06c0bdd00c5a9b558c16d882af6f
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2026-01-14 (Wed, 14 Jan 2026)

  Changed paths:
    M clang/lib/Serialization/ASTReaderDecl.cpp
    A clang/test/Modules/pr149404-02.cppm
    A clang/test/Modules/pr172241.cppm

  Log Message:
  -----------
  [Serialization] Stop demote var definition as declaration (#172430)

Close https://github.com/llvm/llvm-project/issues/172241
Close https://github.com/llvm/llvm-project/issues/64034
Close https://github.com/llvm/llvm-project/issues/149404
Close https://github.com/llvm/llvm-project/issues/174858

After this patch, we (the clang dev) no longer assumes there are at
most one definition in a redeclaration chain.

See

https://discourse.llvm.org/t/rfc-clang-not-assuming-there-is-at-most-one-definition-in-a-redeclaration-chain/89360
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