Skip to content

Commit e381f60

Browse files
authored
Add TODO
1 parent 7c29461 commit e381f60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/include/llvm/ADT/STLForwardCompat.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +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.
3940
template <typename T>
4041
struct type_identity // NOLINT(readability-identifier-naming)
4142
{
4243
using type = T;
4344
};
4445

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

0 commit comments

Comments
 (0)