]> granicus.if.org Git - clang/commit
When adding types to the context chain for record types, just emit
authorEric Christopher <echristo@apple.com>
Fri, 20 Jan 2012 22:10:15 +0000 (22:10 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 20 Jan 2012 22:10:15 +0000 (22:10 +0000)
commit4ddca8ab795be2bb239a80b48a57d09f54dc07ba
tree6ef54ab705ad02ff6043bf726f085dc90a31fcfe
parent3575c456e969d71623fe83e19ea499285cdb3567
When adding types to the context chain for record types, just emit
a forward declaration unless we already have a type. We can fill it in
later if it's actually used.

Fixes PR11345

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148584 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h