diff options
| author | JF Bastien <jfbastien@apple.com> | 2018-09-07 23:08:26 +0000 |
|---|---|---|
| committer | JF Bastien <jfbastien@apple.com> | 2018-09-07 23:08:26 +0000 |
| commit | 28655081a476d8808e9e2c0900d4ca87fb17abe3 (patch) | |
| tree | 0d3cc6e818710083eda5cd6472b6a9c7798cd770 /llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test | |
| parent | f803b23879d9e1d9415ec1875713534dcc203df5 (diff) | |
| download | bcm5719-llvm-28655081a476d8808e9e2c0900d4ca87fb17abe3.tar.gz bcm5719-llvm-28655081a476d8808e9e2c0900d4ca87fb17abe3.zip | |
ADT: add <bit> header, implement C++20 bit_cast, use
Summary: I saw a few places that were punning through a union of FP and integer, and that made me sad. Luckily, C++20 adds bit_cast for exactly that purpose. Implement our own version in ADT (without constexpr, leaving us a bit sad), and use it in the few places my grep-fu found silly union punning.
Reviewers: javed.absar
Subscribers: dexonsmith, llvm-commits
Differential Revision: https://reviews.llvm.org/D51693
llvm-svn: 341728
Diffstat (limited to 'llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test')
0 files changed, 0 insertions, 0 deletions

