]> granicus.if.org Git - clang/commit
When deciding whether a deferred declaration has already been emitted,
authorJohn McCall <rjmccall@apple.com>
Thu, 27 May 2010 01:45:30 +0000 (01:45 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 27 May 2010 01:45:30 +0000 (01:45 +0000)
commitc76702cc80c1ef8a94d82b62ddcb4ed4f67d5b8c
tree8357bdfafd6d6bc42500301042dde5173e622972
parent8a2c92cab213bd7e28ff669577e815cd70bafbe3
When deciding whether a deferred declaration has already been emitted,
aliases count as definitions regardless of whether their target has been
emitted yet.  Fixes PR 7142.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104796 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenModule.cpp
test/CodeGenCXX/destructors.cpp