[llvm] [ADT] Add `llvm::conditionally_reverse()` iterator (PR #171040)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 7 09:04:15 PST 2025
================
@@ -40,6 +40,7 @@
#include <tuple>
#include <type_traits>
#include <utility>
+#include <variant>
----------------
kuhar wrote:
I don't think we want to pull in variant in this header; I'm worried about the effect on compilation times and some implementations not being optimized very well. Can you implement it without variant?
https://github.com/llvm/llvm-project/pull/171040
More information about the llvm-commits
mailing list