diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-02-06 01:59:09 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-02-06 01:59:09 +0000 |
commit | a40030f308759728ed4ab55847abff63a8ac2c61 (patch) | |
tree | 36ed5a655aa7626b676d33d3f956aedf6ee1230e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b925b9c85f36cddbcd69bdcc44f5725cafe0d7b6 (diff) | |
download | bcm5719-llvm-a40030f308759728ed4ab55847abff63a8ac2c61.tar.gz bcm5719-llvm-a40030f308759728ed4ab55847abff63a8ac2c61.zip |
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>
llvm-svn: 259975
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions