[all-commits] [llvm/llvm-project] ab954b: [clang][NFC] Refactor replaceExternalDecls to use ...
Samarth Narang via All-commits
all-commits at lists.llvm.org
Mon Jun 9 19:22:44 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ab954b11dbf7c5f0256b5a93b6c221b6e82a4f28
https://github.com/llvm/llvm-project/commit/ab954b11dbf7c5f0256b5a93b6c221b6e82a4f28
Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
Date: 2025-06-10 (Tue, 10 Jun 2025)
Changed paths:
M clang/include/clang/AST/DeclContextInternals.h
Log Message:
-----------
[clang][NFC] Refactor replaceExternalDecls to use llvm::any_of (#143275)
This patch simplifies the declaration replacement logic in
replaceExternalDecls by replacing a manual loop with an idiomatic use of
llvm::any_of. This improves code readability and aligns with common LLVM
coding style.
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