]> granicus.if.org Git - clang/commit
[Sema] -Add an invalid objc category to the DeclContext so that it can be
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 12 Mar 2012 18:34:26 +0000 (18:34 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 12 Mar 2012 18:34:26 +0000 (18:34 +0000)
commit9a0b6b4e2bf6a9ef41d32b4e83f2911981d2d44d
tree74c06e15b112b1129067fce2b824f3a490db26cb
parentd8b5ca14277e142506daed181ecff9151dfae32c
[Sema] -Add an invalid objc category to the DeclContext so that it can be
serialized
-Don't add methods of invalid objc containers to the global method pool.
 This protects us from trying to serialize a method whose container was not
 serialized.

Part of rdar://11007039.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152566 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDeclObjC.cpp
test/Index/pch-with-errors.m [new file with mode: 0644]