[Sema debugger support] Require non-void types to be complete in unknown-anytype...
authorDouglas Gregor <dgregor@apple.com>
Wed, 3 Feb 2016 19:13:08 +0000 (19:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 3 Feb 2016 19:13:08 +0000 (19:13 +0000)
commit0fc3a001682c0bd076a329024192e57b3bc950fd
tree08abfa09d4a0537d8a966784e86e3c6d33e9129f
parent62d3a6570afd635986912a7b9cb5791bc37da137
[Sema debugger support] Require non-void types to be complete in unknown-anytype casts.

When performing a cast from an __unknown_anytype function call to a
non-void type, we need to make sure that type is complete. Fixes
rdar://problem/23959960.

llvm-svn: 259681
clang/lib/Sema/SemaExpr.cpp
clang/test/SemaCXX/unknown-anytype.cpp