diff options
| author | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-03 11:10:49 -0500 |
|---|---|---|
| committer | Arthur O'Dwyer <arthur.j.odwyer@gmail.com> | 2021-03-03 22:23:14 -0500 |
| commit | 09fa1d0e50a3d907e8596f6ea49780b7187b727e (patch) | |
| tree | aef2aeedd722452addb44e39b9a8dff219ae13f4 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 3f5438c46cc8ddfbd221336153700da0bc527752 (diff) | |
[libc++] Introduce __identity_t<T>. NFCI.
This is just a shorter synonym for `__identity<T>::type`.
Use it consistently throughout, where possible.
There is still some metaprogramming in <memory> and <variant>
where `__identity` is being used _without_ immediately calling
`::type` on it; but this is the unusual case, and it will become
even less usual as we start deliberately protecting certain types
against deduction (e.g. D97742).
Differential Revision: https://reviews.llvm.org/D97862
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
