[clang] [llvm] [ADT] Fix SmallVector append with input iterators (PR #191030)

Alexis Engelke via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 9 08:58:53 PDT 2026


================
@@ -10053,7 +10053,7 @@ void SemaCodeCompletion::CodeCompleteObjCMethodDecl(
         IFace = Category->getClassInterface();
 
     if (IFace)
-      llvm::append_range(Containers, IFace->visible_categories());
+      llvm::copy(IFace->visible_categories(), std::back_inserter(Containers));
----------------
aengelke wrote:

Yes + yes, implemented.

https://github.com/llvm/llvm-project/pull/191030


More information about the cfe-commits mailing list