[PATCH] D76323: [AST] Fix handling of long double and bool in __builtin_bit_cast

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 23 07:36:28 PDT 2020


erik.pilkington updated this revision to Diff 252023.
erik.pilkington marked 5 inline comments as done.
erik.pilkington added a comment.

Add tests for `bit_cast<bool>((char)1)`;


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76323/new/

https://reviews.llvm.org/D76323

Files:
  clang/include/clang/Basic/DiagnosticASTKinds.td
  clang/lib/AST/ExprConstant.cpp
  clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76323.252023.patch
Type: text/x-patch
Size: 5999 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200323/5d10b30f/attachment.bin>


More information about the cfe-commits mailing list