aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-08-17 04:17:54 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-08-17 04:17:54 +0000
commite7259aad3fc6db0c9add85d486cafa6eeb53585d (patch)
tree785fac0565074d1be4698f796dab2727f2b8bbf5 /lib/Sema/SemaDecl.cpp
parenteae57a65fe6467f982266420b5619bea5a622315 (diff)
Fix undefined behavior in debug info emission: operator* on WeakVH returns a
reference, so &* on an empty WeakVH binds a reference to a dereferenced null pointer. So don't do that; we have a perfectly good implicit conversion to Value*. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162079 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions