[clang] [clang][NFC] Refactor replaceExternalDecls to use llvm::any_of (PR #143275)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 8 19:26:08 PDT 2025
================
@@ -177,13 +177,10 @@ class StoredDeclsList {
if (ND->isFromASTFile())
return true;
// FIXME: Can we get rid of this loop completely?
- for (NamedDecl *D : Decls)
- // Only replace the local declaration if the external declaration has
- // higher visibilities.
----------------
ChuanqiXu9 wrote:
Here is another missing comment.
https://github.com/llvm/llvm-project/pull/143275
More information about the cfe-commits
mailing list