Skip to content

Commit cac3802

Browse files
[ADT] Fix comment typos in STLForwardCompat.h (#157789)
st::type_identity_t is from C++20, not C++23.
1 parent 56122f7 commit cac3802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ADT/STLForwardCompat.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ template <typename T>
3636
using remove_cvref_t // NOLINT(readability-identifier-naming)
3737
= typename llvm::remove_cvref<T>::type;
3838

39-
// TODO: Remove this in favor of std::type_identity<T> once we switch to C++23.
39+
// TODO: Remove this in favor of std::type_identity<T> once we switch to C++20.
4040
template <typename T>
4141
struct type_identity // NOLINT(readability-identifier-naming)
4242
{
4343
using type = T;
4444
};
4545

4646
// TODO: Remove this in favor of std::type_identity_t<T> once we switch to
47-
// C++23.
47+
// C++20.
4848
template <typename T>
4949
using type_identity_t // NOLINT(readability-identifier-naming)
5050
= typename llvm::type_identity<T>::type;

0 commit comments

Comments
 (0)