[all-commits] [llvm/llvm-project] 3cec39: [C++20] [Modules] Don't generate strong function o...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Thu Mar 31 23:37:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cec39b91c50944095affc52eee286e3161772b4
      https://github.com/llvm/llvm-project/commit/3cec39b91c50944095affc52eee286e3161772b4
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M clang/include/clang/Basic/Module.h
    M clang/lib/Serialization/ASTWriterDecl.cpp
    A clang/test/CodeGenCXX/partitions.cpp

  Log Message:
  -----------
  [C++20] [Modules] Don't generate strong function of a partition in importing modules

This solves the multiple defintiion issue
https://github.com/llvm/llvm-project/issues/54269.

I think the cause of the bug might be an oversight. We just forget to
edit this when implementing partitions. And it should be a good fix.

Reviewed By: iains

Differential Revision: https://reviews.llvm.org/D121271




More information about the All-commits mailing list