diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-20 22:36:26 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-20 22:36:26 -0700 |
commit | c5da37e42d388947a40654b7011f2a820ec51601 (patch) | |
tree | 0b1a6c721042f01c76b16cf4c6c208c851da1e66 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ec5eab7e87cb472ddf6e2b444b6109d08636e244 (diff) | |
download | llvm-c5da37e42d388947a40654b7011f2a820ec51601.zip llvm-c5da37e42d388947a40654b7011f2a820ec51601.tar.gz llvm-c5da37e42d388947a40654b7011f2a820ec51601.tar.bz2 |
Use std::is_same_v instead of std::is_same (NFC)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 9731d40..79d9dcd 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -197,8 +197,7 @@ static void denormalizeSimpleFlag(SmallVectorImpl<const char *> &Args, } template <typename T> static constexpr bool is_uint64_t_convertible() { - return !std::is_same<T, uint64_t>::value && - llvm::is_integral_or_enum<T>::value; + return !std::is_same_v<T, uint64_t> && llvm::is_integral_or_enum<T>::value; } template <typename T, |