[all-commits] [llvm/llvm-project] 88a720: [NFC] [C++20] [Modules] Rename ASTContext::getName...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon May 15 20:25:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 88a720d19479e4cad186f00a9911714c3d77303a
https://github.com/llvm/llvm-project/commit/88a720d19479e4cad186f00a9911714c3d77303a
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-05-16 (Tue, 16 May 2023)
Changed paths:
M clang/include/clang/AST/ASTContext.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Frontend/ASTUnit.cpp
M clang/lib/Sema/SemaModule.cpp
Log Message:
-----------
[NFC] [C++20] [Modules] Rename ASTContext::getNamedModuleForCodeGen to ASTContext::getCurrentNamedModule
The original name "ASTContext::getNamedModuleForCodeGen" is not properly
reflecting the usage of the interface. This interface can be used to
judge the current module unit in both sema analysis and code generation.
So the original name was not so correct.
More information about the All-commits
mailing list