[all-commits] [llvm/llvm-project] abfc5e: [NFC] [Decl] Introduce Decl::isFromExplicitGlobalM...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Fri Mar 29 01:30:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: abfc5efb55267689f1852fd7ce3e0a38876aa259
https://github.com/llvm/llvm-project/commit/abfc5efb55267689f1852fd7ce3e0a38876aa259
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/unittests/AST/DeclTest.cpp
Log Message:
-----------
[NFC] [Decl] Introduce Decl::isFromExplicitGlobalModule
Introduce `Decl::isFromExplicitGlobalModule` to replace the
`D->getOwningModule() && D->getOwningModule()->isExplicitGlobalModule()`
pattern to save some typings.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list