From d6d9b52ec5c63f16d9beab51060e0711de982f13 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 8 Sep 2025 00:51:42 -0700 Subject: [PATCH] [ADT] Move llvm::is_detected to STLForwardCompat.h llvm::is_detected forward-ported from C++20. As such, it belongs to STLForwardCompat.h. --- llvm/include/llvm/ADT/STLExtras.h | 20 -------------------- llvm/include/llvm/ADT/STLForwardCompat.h | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 5923fdd46a378..099bef288b953 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -58,26 +58,6 @@ template struct make_const_ref { using type = std::add_lvalue_reference_t>; }; -namespace detail { -template class Op, class... Args> struct detector { - using value_t = std::false_type; -}; -template