We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c29461 commit e381f60Copy full SHA for e381f60
llvm/include/llvm/ADT/STLForwardCompat.h
@@ -36,12 +36,15 @@ template <typename T>
36
using remove_cvref_t // NOLINT(readability-identifier-naming)
37
= typename llvm::remove_cvref<T>::type;
38
39
+// TODO: Remove this in favor of std::type_identity<T> once we switch to C++23.
40
template <typename T>
41
struct type_identity // NOLINT(readability-identifier-naming)
42
{
43
using type = T;
44
};
45
46
+// TODO: Remove this in favor of std::type_identity_t<T> once we switch to
47
+// C++23.
48
49
using type_identity_t // NOLINT(readability-identifier-naming)
50
= typename llvm::type_identity<T>::type;
0 commit comments