From 99694a5d1df4ebe83eb4863f14c6354c115ca1d8 Mon Sep 17 00:00:00 2001 From: Joe Loser Date: Sat, 20 Aug 2022 17:53:58 -0600 Subject: [PATCH] [ADT] Replace `void_t` equivalent with `std::void_t` Use `std::void_t` instead of defining our own equivalent in `STLExtras.h` now that C++17 is available for use. Differential Revision: https://reviews.llvm.org/D132319 --- llvm/include/llvm/ADT/STLExtras.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/include/llvm/ADT/STLExtras.h b/llvm/include/llvm/ADT/STLExtras.h index 4a72e9b..3d914d7 100644 --- a/llvm/include/llvm/ADT/STLExtras.h +++ b/llvm/include/llvm/ADT/STLExtras.h @@ -77,12 +77,11 @@ template struct make_const_ref { }; namespace detail { -template using void_t = void; template class Op, class... Args> struct detector { using value_t = std::false_type; }; template