[all-commits] [llvm/llvm-project] 360c5f: [C++20] [Modules] Emit Macro Definition in -module...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Sun Nov 13 21:33:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 360c5fe54c0758c73bf85453fd2913f371adc7d5
https://github.com/llvm/llvm-project/commit/360c5fe54c0758c73bf85453fd2913f371adc7d5
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-11-14 (Mon, 14 Nov 2022)
Changed paths:
M clang/lib/Frontend/FrontendActions.cpp
A clang/test/Modules/cxx20-module-file-info-macros.cpp
Log Message:
-----------
[C++20] [Modules] Emit Macro Definition in -module-file-info action
It is helpful to know whih macro definition is emitted in the module
file without openning it directly. And this is not easy to be tested
with the lit test. So this patch add the facility to emit macro
definitions in `-module-file-info` action. And this should be innnocent
for every other cases.
More information about the All-commits
mailing list