diff --git a/llvm/include/llvm/ADT/STLForwardCompat.h b/llvm/include/llvm/ADT/STLForwardCompat.h index 81b9a685e11d2..0ef8cb5d02e50 100644 --- a/llvm/include/llvm/ADT/STLForwardCompat.h +++ b/llvm/include/llvm/ADT/STLForwardCompat.h @@ -36,7 +36,7 @@ template using remove_cvref_t // NOLINT(readability-identifier-naming) = typename llvm::remove_cvref::type; -// TODO: Remove this in favor of std::type_identity once we switch to C++23. +// TODO: Remove this in favor of std::type_identity once we switch to C++20. template struct type_identity // NOLINT(readability-identifier-naming) { @@ -44,7 +44,7 @@ struct type_identity // NOLINT(readability-identifier-naming) }; // TODO: Remove this in favor of std::type_identity_t once we switch to -// C++23. +// C++20. template using type_identity_t // NOLINT(readability-identifier-naming) = typename llvm::type_identity::type;