commit | fe4804f5853c2ef72cbc6e43f696737885f87b1d | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Sat Feb 06 01:59:09 2016 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Sat Feb 06 10:47:29 2016 -0800 |
tree | 95641974054d5b1f3a26c8987f2c5287c828eb7f | |
parent | 5edf2d393501fb0bf8e7ec596296d122642b1b5a [diff] |
Fix a crash when emitting dbeug info for forward-declared scoped enums. It is possible for enums to be created as part of their own declcontext. We need to cache a placeholder to avoid the type being created twice before hitting the cache. <rdar://problem/24493203> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259975 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 6fbed68720badec2bcafeb98ecb554c681ae75ad)