================
@@ -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() &&
----------------
mpark wrote:

Yep. I added this commit after creating the PR and hadn't updated the title. 
yet. Updated to "non-functional fixes" now.

https://github.com/llvm/llvm-project/pull/172524
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to