[all-commits] [llvm/llvm-project] 24ecd9: [NFC] Set C++20 Named Modules for CodeGen in ASTCo...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Feb 13 01:15:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 24ecd99842352ed1e6d7877e76e93c2f83ebf3f3
https://github.com/llvm/llvm-project/commit/24ecd99842352ed1e6d7877e76e93c2f83ebf3f3
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Parse/ParseAST.cpp
M clang/lib/Sema/SemaModule.cpp
Log Message:
-----------
[NFC] Set C++20 Named Modules for CodeGen in ASTContext in the early place
Previously we'll set the named modules for ASTContext in ParseAST. But
this is not intuitive and we need comments to tell the intuition. This
patch moves the code the right the place, where the corrresponding
module is first created/loaded. Now it is more intuitive and we can use
the value in the earlier places.
More information about the All-commits
mailing list