[Sema] Check __builtin_bit_cast operand for completeness before materializing it.
authorErik Pilkington <erik.pilkington@gmail.com>
Mon, 12 Aug 2019 19:29:43 +0000 (19:29 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Mon, 12 Aug 2019 19:29:43 +0000 (19:29 +0000)
commit055fcec78cf6026719af4966c7568e39c1229d2d
tree61b63147257e4764dbd17003125e42a6bb8172ec
parent0761a38e8af5bddaf8d7622501c56988bea86af3
[Sema] Check __builtin_bit_cast operand for completeness before materializing it.

This shouldn't be observable, but it doesn't make sense to materialize an
incomplete type.

llvm-svn: 368610
clang/lib/Sema/SemaCast.cpp