[all-commits] [llvm/llvm-project] d9cea8: [C++20][Modules][HU 4/5] Handle pre-processed head...
iains via All-commits
all-commits at lists.llvm.org
Sun Mar 27 01:39:09 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9cea8d3a8fff86672174780312674871729578c
https://github.com/llvm/llvm-project/commit/d9cea8d3a8fff86672174780312674871729578c
Author: Iain Sandoe <iain at sandoe.co.uk>
Date: 2022-03-27 (Sun, 27 Mar 2022)
Changed paths:
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Sema/SemaModule.cpp
A clang/test/Modules/cxx20-hu-05.cpp
Log Message:
-----------
[C++20][Modules][HU 4/5] Handle pre-processed header units.
We wish to support emitting a pre-processed output for an importable
header unit, that can be consumed to produce the same header units as
the original source.
This means that ee need to find the original filename used to produce
the re-preprocessed output, so that it can be assigned as the module
name. This is peeked from the first line of the pre-processed source
when the action sets up the files.
Differential Revision: https://reviews.llvm.org/D121098
More information about the All-commits
mailing list