[ADT] Use std::add_lvalue_reference_t (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 4 Sep 2022 06:27:16 +0000 (23:27 -0700)
committerKazu Hirata <kazu@google.com>
Sun, 4 Sep 2022 06:27:17 +0000 (23:27 -0700)
llvm/include/llvm/ADT/STLExtras.h

index d12edd7..fa4ed0b 100644 (file)
@@ -71,7 +71,7 @@ template <typename T> struct make_const_ptr {
 };
 
 template <typename T> struct make_const_ref {
-  using type = typename std::add_lvalue_reference<std::add_const_t<T>>::type;
+  using type = std::add_lvalue_reference_t<std::add_const_t<T>>;
 };
 
 namespace detail {