[all-commits] [llvm/llvm-project] d58446: [C++20] [Modules] Don't emit macro definitions wit...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Thu Nov 17 19:12:30 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5844685810980399397a4310b943532361790ef
https://github.com/llvm/llvm-project/commit/d5844685810980399397a4310b943532361790ef
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M clang/lib/Serialization/ASTWriter.cpp
M clang/test/Modules/cxx20-module-file-info-macros.cpp
Log Message:
-----------
[C++20] [Modules] Don't emit macro definitions with named module
It is meaningless to emit macro definitions for named modules. With some
small experiments, the size of the module for the named modules reduced
2%~4% after this patch.
More information about the All-commits
mailing list