Don't crash while printing APValues that are lvalues casted to a
authorDouglas Gregor <dgregor@apple.com>
Tue, 29 Jan 2013 01:26:43 +0000 (01:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 29 Jan 2013 01:26:43 +0000 (01:26 +0000)
commit0b7bc7f99612e150304b83c5149b220b959b7341
tree72dc135f9a071c2a1e589fe5136d6733e97fcaf8
parent0cdcc98200b8b2c0dea21bae433677f88aae597c
Don't crash while printing APValues that are lvalues casted to a
decidedly non-reference, non-pointer type. Fixes <rdar://problem/13090123>.

llvm-svn: 173747
clang/lib/AST/APValue.cpp
clang/test/CXX/expr/expr.const/p2-0x.cpp