[clang] [lldb] [llvm] [mlir] [NFC][Support] Add llvm::uninitialized_copy (PR #138174)
Rahul Joshi via cfe-commits
cfe-commits at lists.llvm.org
Fri May 2 09:12:02 PDT 2025
================
@@ -2981,7 +2981,7 @@ ScalarEvolution::getOrCreateAddExpr(ArrayRef<const SCEV *> Ops,
static_cast<SCEVAddExpr *>(UniqueSCEVs.FindNodeOrInsertPos(ID, IP));
if (!S) {
const SCEV **O = SCEVAllocator.Allocate<const SCEV *>(Ops.size());
- std::uninitialized_copy(Ops.begin(), Ops.end(), O);
+ llvm::uninitialized_copy(Ops, O);
----------------
jurahul wrote:
https://discourse.llvm.org/t/coding-convention-question-for-stlextras-functions/86141
I'll update these to drop the `llvm::` once I get some feedback on the thread (hoping folks will agree with not having to use llvm::)
https://github.com/llvm/llvm-project/pull/138174
More information about the cfe-commits
mailing list