[PATCH] D130871: [C++20] [Modules] Handle initializer for Header Units
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 1 00:18:23 PDT 2022
ChuanqiXu created this revision.
ChuanqiXu added a reviewer: iains.
ChuanqiXu added a project: clang-modules.
Herald added a project: All.
ChuanqiXu requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130871
Files:
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/test/CodeGenCXX/module-initializer-header.cppm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130871.448931.patch
Type: text/x-patch
Size: 4060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220801/fc2d3eef/attachment-0001.bin>
More information about the cfe-commits
mailing list