]> granicus.if.org Git - clang/commit
Modules: for ObjectiveC try to keep the definition invariant.
authorManman Ren <manman.ren@gmail.com>
Fri, 9 Sep 2016 23:48:27 +0000 (23:48 +0000)
committerManman Ren <manman.ren@gmail.com>
Fri, 9 Sep 2016 23:48:27 +0000 (23:48 +0000)
commit2ba197935121279058681f83c97ca9879b1a8487
treeefe5ac59c0f0074562fa4edb7140d243e22dde0c
parent46ae902cffe5845f5876bda2858b24cb4bc4490a
Modules: for ObjectiveC try to keep the definition invariant.

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
22 files changed:
lib/Serialization/ASTReaderDecl.cpp
test/Modules/Inputs/lookup-assert/Base.h [new file with mode: 0644]
test/Modules/Inputs/lookup-assert/Derive.h [new file with mode: 0644]
test/Modules/Inputs/lookup-assert/H3.h [new file with mode: 0644]
test/Modules/Inputs/lookup-assert/module.map [new file with mode: 0644]
test/Modules/Inputs/objc-category-2/Base.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-2/Category.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-2/H3.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-2/module.map [new file with mode: 0644]
test/Modules/Inputs/objc-category-3/Base.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-3/Category.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-3/Category_B.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-3/H3.h [new file with mode: 0644]
test/Modules/Inputs/objc-category-3/module.map [new file with mode: 0644]
test/Modules/Inputs/objc-category/Base.h [new file with mode: 0644]
test/Modules/Inputs/objc-category/Category.h [new file with mode: 0644]
test/Modules/Inputs/objc-category/H3.h [new file with mode: 0644]
test/Modules/Inputs/objc-category/module.map [new file with mode: 0644]
test/Modules/lookup-assert.m [new file with mode: 0644]
test/Modules/objc-category-2.m [new file with mode: 0644]
test/Modules/objc-category-3.m [new file with mode: 0644]
test/Modules/objc-category.m [new file with mode: 0644]