diff options
author | Sean Callanan <scallanan@apple.com> | 2011-07-19 22:38:25 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-07-19 22:38:25 +0000 |
commit | 673e775beba71a69dbab4fcd733a84f4cfe2ebfc (patch) | |
tree | e263cd92876399061ee1187e5336e1866893b736 /lib/CodeGen/ModuleBuilder.cpp | |
parent | 62d126e942f9f420c6f398d32deb914d413226a3 (diff) |
This fix (thanks to Doug Gregor) corrects a bug
in ImportDefinition when replacing a previously
forward-declared CXXRecordDecl with its full
definition. The forward-declared type's
DefinitionData had not been intialized for the
forward-declared type, so adding fields to the
Decl caused CXXRecordDecl::addedMember() to
crash when accessing the DefinitionData.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135530 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions