commit | 673e775beba71a69dbab4fcd733a84f4cfe2ebfc | [log] [tgz] |
---|---|---|
author | Sean Callanan <scallanan@apple.com> | Tue Jul 19 22:38:25 2011 +0000 |
committer | Sean Callanan <scallanan@apple.com> | Tue Jul 19 22:38:25 2011 +0000 |
tree | e263cd92876399061ee1187e5336e1866893b736 | |
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