[all-commits] [llvm/llvm-project] cbbe55: [C++20] [Modules] Generate init calls for the modu...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Fri Sep 29 07:17:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbbe55590414d5b698dcb7f7125f0508b29cadf8
      https://github.com/llvm/llvm-project/commit/cbbe55590414d5b698dcb7f7125f0508b29cadf8
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M clang/lib/CodeGen/CGDeclCXX.cpp
    M clang/test/CodeGenCXX/module-initializer-guard-elision.cpp

  Log Message:
  -----------
  [C++20] [Modules] Generate init calls for the modules imported in GMF or PMF

I just found that we didn't handle the imports in GMF of PMF when we're
generating the init functions for the current module unit. This looks
like a simple oversight and I'm going to fix that in this patch
directly.




More information about the All-commits mailing list