From 80c698d6b9688b464aa34d75aa977d07d06eac66 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 25 Sep 2022 23:14:13 -0700 Subject: [PATCH] [ADT] Use std::conditional_t (NFC) --- llvm/include/llvm/ADT/SmallVector.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llvm/include/llvm/ADT/SmallVector.h b/llvm/include/llvm/ADT/SmallVector.h index 14f051e..513fce9 100644 --- a/llvm/include/llvm/ADT/SmallVector.h +++ b/llvm/include/llvm/ADT/SmallVector.h @@ -468,8 +468,7 @@ protected: /// Either const T& or T, depending on whether it's cheap enough to take /// parameters by value. - using ValueParamT = - typename std::conditional::type; + using ValueParamT = std::conditional_t; SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon(Size) {} -- 2.7.4