From 108e41d962463ea1cb956d1a929692a5b49c0a80 Mon Sep 17 00:00:00 2001 From: Nathan James Date: Mon, 7 Nov 2022 18:25:46 +0000 Subject: [clang][NFC] Use c++17 style variable type traits This was done as a test for D137302 and it makes sense to push these changes Reviewed By: shafik Differential Revision: https://reviews.llvm.org/D137491 --- clang/lib/Frontend/CompilerInvocation.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'clang/lib/Frontend/CompilerInvocation.cpp') diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 6b88080..b004c6c 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -199,8 +199,7 @@ static void denormalizeSimpleFlag(SmallVectorImpl &Args, } template static constexpr bool is_uint64_t_convertible() { - return !std::is_same::value && - llvm::is_integral_or_enum::value; + return !std::is_same_v && llvm::is_integral_or_enum::value; } template