[llvm] [ADT] Fix llvm::concat_iterator for `ValueT == common_base_class *` (PR #144744)

Javier Lopez-Gomez via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 18 14:54:44 PDT 2025


================
@@ -1088,7 +1089,7 @@ class concat_iterator
     if (Begin == End)
       return {};
 
-    if constexpr (ReturnsByValue)
+    if constexpr (ReturnsValueOrPointer)
       return *Begin;
----------------
jalopezg-git wrote:

Yeah, let me give it another round of work - this week is WG21 meeting; I was in a hurry but still wanted to open a draft PR.

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


More information about the llvm-commits mailing list