[clang] [C++20][Modules][NFC] Some minor comment fixes (PR #172524)
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 16 10:13:23 PST 2025
================
@@ -4441,9 +4441,9 @@ class ASTDeclContextNameLookupTrait
DeclIDs.push_back(ID);
};
+ ASTReader *Chain = Writer.getChain();
for (NamedDecl *D : Decls) {
- if (ASTReader *Chain = Writer.getChain();
- Chain && isa<NamespaceDecl>(D) && D->isFromASTFile() &&
+ if (Chain && isa<NamespaceDecl>(D) && D->isFromASTFile() &&
----------------
hubert-reinterpretcast wrote:
This part is NFC, but not a "minor comment fix".
https://github.com/llvm/llvm-project/pull/172524
More information about the cfe-commits
mailing list