[ADT] Clarify llvm::bit_cast implementation comment
authorJoe Loser <joeloser@fastmail.com>
Sun, 21 Aug 2022 16:41:13 +0000 (10:41 -0600)
committerJoe Loser <joeloser@fastmail.com>
Mon, 22 Aug 2022 00:13:41 +0000 (18:13 -0600)
commit7e2cf2679ebc177c3264c171d8d7a91442161f5c
tree42a17c04952e1b15145f372b4eb323424161f71d
parentabce7acebd4c06c977bc4bd79170697f1122bc5e
[ADT] Clarify llvm::bit_cast implementation comment

When reviewing https://reviews.llvm.org/D132330, I noticed a few pre-existing
comments regarding the implementation of `llvm::bit_cast`. One comment is a bit
misleading since `std::bit_cast` is a C++20 standard library thing, not a
C++17 one (otherwise we could use it directly). Clarify that in the comment.

Differential Revision: https://reviews.llvm.org/D132332
llvm/include/llvm/ADT/bit.h