[all-commits] [llvm/llvm-project] db6152: [C++20] [Modules] Handle initializer for Header Units
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Aug 1 19:28:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db6152ad66d7cf48f9f5c3eb28bf54c092978773
https://github.com/llvm/llvm-project/commit/db6152ad66d7cf48f9f5c3eb28bf54c092978773
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-08-02 (Tue, 02 Aug 2022)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
A clang/test/CodeGenCXX/module-initializer-header.cppm
Log Message:
-----------
[C++20] [Modules] Handle initializer for Header Units
Previously when we add module initializer, we forget to handle header
units. This results that we couldn't compile a Hello World Example with
Header Units. This patch tries to fix this.
Reviewed By: iains
Differential Revision: https://reviews.llvm.org/D130871
More information about the All-commits
mailing list