[all-commits] [llvm/llvm-project] 18f3bc: [C++20] [Modules] Correct the linkage for template...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Mon Jul 1 20:44:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18f3bcbb13ca83d33223b00761d8cddf463e9ffb
      https://github.com/llvm/llvm-project/commit/18f3bcbb13ca83d33223b00761d8cddf463e9ffb
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/CodeGen/CGVTables.cpp
    A clang/test/Modules/pr97313.cppm

  Log Message:
  -----------
  [C++20] [Modules] Correct the linkage for template instantiations in
named modules

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

In the previous patch (https://github.com/llvm/llvm-project/pull/75912),
I made an oversight that I ignored the templates in named module when
calculating the linkage for the vtables. In this patch, I tried to
correct the behavior by merging the logics to calculate the linkage with
key functions with named modules.



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