llvm-project
ab954b11 - [clang][NFC] Refactor replaceExternalDecls to use llvm::any_of (#143275)

Commit
147 days ago
[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.
Author
Parents
Loading