commit | 4ddca8ab795be2bb239a80b48a57d09f54dc07ba | [log] [tgz] |
---|---|---|
author | Eric Christopher <echristo@apple.com> | Fri Jan 20 22:10:15 2012 +0000 |
committer | Eric Christopher <echristo@apple.com> | Fri Jan 20 22:10:15 2012 +0000 |
tree | 6ef54ab705ad02ff6043bf726f085dc90a31fcfe | |
parent | 3575c456e969d71623fe83e19ea499285cdb3567 [diff] |
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