summaryrefslogtreecommitdiffstats
path: root/test/Modules/lookup-assert.m
Commit message (Collapse)AuthorAgeFilesLines
* Modules: for ObjectiveC try to keep the definition invariant.Manman Ren2016-09-091-0/+10
| | | | | | | | | | | | | When deserializing ObjCInterfaceDecl with definition data, if we already have a definition, try to keep the definition invariant; also pull in the categories even if it is not what getDefinition returns (this effectively combines categories). rdar://27926200 rdar://26708823 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281119 91177308-0d34-0410-b5e6-96231b3b80d8
* Modules: revert r280728.Manman Ren2016-09-091-10/+0
| | | | | | | | In post-commit review, Richard suggested a better way to fix this. rdar://27926200 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@281078 91177308-0d34-0410-b5e6-96231b3b80d8
* Modules: Fix an assertion in DeclContext::buildLookup.Manman Ren2016-09-061-0/+10
When calling getMostRecentDecl, we can pull in more definitions from a module. We call getPrimaryContext afterwards to make sure that we buildLookup on a primary context. rdar://27926200 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280728 91177308-0d34-0410-b5e6-96231b3b80d8