summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2018-09-07 23:08:26 +0000
committerJF Bastien <jfbastien@apple.com>2018-09-07 23:08:26 +0000
commit28655081a476d8808e9e2c0900d4ca87fb17abe3 (patch)
tree0d3cc6e818710083eda5cd6472b6a9c7798cd770 /llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp
parentf803b23879d9e1d9415ec1875713534dcc203df5 (diff)
downloadbcm5719-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/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud