In the override search for Objective-C methods, protect against ASTs that have NULL...
authorDouglas Gregor <dgregor@apple.com>
Thu, 17 May 2012 22:39:14 +0000 (22:39 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 17 May 2012 22:39:14 +0000 (22:39 +0000)
commitc5928afb69a541cd173e600a9424a09cb3248c22
tree518a82c84c8a68844e029693a83098eb6053aece
parent6a50baa26e88d89985d587ee77384ec9830004a4
In the override search for Objective-C methods, protect against ASTs that have NULL interfaces behind a category, which can happen in invalid code. Fixes <rdar://problem/11478173>, a recent regression

llvm-svn: 157021
clang/lib/Sema/SemaDeclObjC.cpp
clang/test/SemaObjC/category-1.m