[PATCH] D121097: [C++20][Modules][HU 3/5] Emit module macros for header units.
Iain Sandoe via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 7 04:39:31 PST 2022
iains created this revision.
Herald added a project: All.
iains added reviewers: rsmith, urnathan, ChuanqiXu.
iains published this revision for review.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
For header units we build the top level module directly from the header
that it represents and macros defined in this TU need to be emitted (when
such a definition is live at the end of the TU).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121097
Files:
clang/include/clang/Serialization/ASTWriter.h
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/cxx20-hu-04.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121097.413397.patch
Type: text/x-patch
Size: 9794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220307/1356baaf/attachment-0001.bin>
More information about the cfe-commits
mailing list