aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-10-27 16:34:10 +0800
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>2022-10-27 16:40:26 +0800
commite8541e4b42c54e106940b846123508742e026b7d (patch)
treeddbd0bc1a6634912df0dcc1660b9c743c2c749d9 /clang/lib/Frontend/CompilerInstance.cpp
parentb6d3ae3d3de0ce8015e422592aa467b99d4b0b6d (diff)
downloadllvm-e8541e4b42c54e106940b846123508742e026b7d.zip
llvm-e8541e4b42c54e106940b846123508742e026b7d.tar.gz
llvm-e8541e4b42c54e106940b846123508742e026b7d.tar.bz2
[NFC] [Modules] Rename modules related things in Preprocessor and AffectingModules
Rename module related things according to the consensus in https://discourse.llvm.org/t/rfc-unifying-the-terminology-about-modules-in-clang/66054/ to reduce further confusings. This only renames things I can make sure. It doesn't mean all the names in Preprocessor are correct now.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index c28eaba8..6402f16 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -2031,7 +2031,7 @@ CompilerInstance::loadModule(SourceLocation ImportLoc,
Sub = loadModule(ImportLoc, PrivPath, Visibility, IsInclusionDirective);
if (Sub) {
MapPrivateSubModToTopLevel = true;
- PP->markModuleAsAffecting(Module);
+ PP->markClangModuleAsAffecting(Module);
if (!getDiagnostics().isIgnored(
diag::warn_no_priv_submodule_use_toplevel, ImportLoc)) {
getDiagnostics().Report(Path[I].second,