diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-09-13 12:30:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 12:30:05 -0400 |
commit | cce062d226ba91c634f52ef00e1086f38c829d3a (patch) | |
tree | 1377310c4036359478269e62ee3d7a39dfe32640 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 2f005df066e07d93e3d6aa04748c158f883197b7 (diff) | |
download | llvm-cce062d226ba91c634f52ef00e1086f38c829d3a.zip llvm-cce062d226ba91c634f52ef00e1086f38c829d3a.tar.gz llvm-cce062d226ba91c634f52ef00e1086f38c829d3a.tar.bz2 |
[libc++] Reintroduce the removed std::char_traits specialization (#66153)
This partially reverts commit e30a148b098, which removed the base
template for std::char_traits. That base template had been marked as
deprecated since LLVM 16 and we were planning to remove it in LLVM 18.
However, as explained in the post-commit comments in
https://reviews.llvm.org/D157058, the deprecation mechanism didn't work
as expected. Basically, the deprecation warnings were never shown to
users since libc++ headers are system headers and Clang doesn't show
warnings in system headers.
As a result, this removal came with basically no lead time as far as
users are concerned, which is a poor experience. For this reason, I am
re-introducing the deprecated char_traits specialization until we have a
proper way of phasing it out in a way that is not a surprise for users.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions