]> granicus.if.org Git - clang/commit
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)
commitf727e1c6cc382c1b5fe23b38ba04df2d4a2f358a
treeeb972d2a142c1db0fdffe954f47ca588824ddec1
parent5cd532ca0bc1cb8110e24586d064f72332d8b767
Don't crash while printing APValues that are lvalues casted to a
decidedly non-reference, non-pointer type. Fixes <rdar://problem/13090123>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173747 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/APValue.cpp
test/CXX/expr/expr.const/p2-0x.cpp