Modules: for ObjectiveC try to keep the definition invariant.When deserializing ObjCInterfaceDecl with definition data, if we already havea definition, try to keep the definition invariant; also p
Modules: for ObjectiveC try to keep the definition invariant.When deserializing ObjCInterfaceDecl with definition data, if we already havea definition, try to keep the definition invariant; also pull in thecategories even if it is not what getDefinition returns (this effectivelycombines categories).rdar://27926200rdar://26708823llvm-svn: 281119
show more ...
Modules: revert r280728.In post-commit review, Richard suggested a better way to fix this.rdar://27926200llvm-svn: 281078
Modules: Fix an assertion in DeclContext::buildLookup.When calling getMostRecentDecl, we can pull in more definitions froma module. We call getPrimaryContext afterwards to make sure thatwe buildL
Modules: Fix an assertion in DeclContext::buildLookup.When calling getMostRecentDecl, we can pull in more definitions froma module. We call getPrimaryContext afterwards to make sure thatwe buildLookup on a primary context.rdar://27926200llvm-svn: 280728