]> granicus.if.org Git - clang/commit
[libclang] Make sure we don't crash when trying to index code that
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 23 Mar 2012 23:24:18 +0000 (23:24 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 23 Mar 2012 23:24:18 +0000 (23:24 +0000)
commit30a2805c2c85e6abfe3149293f83f60da018b2df
tree5ec91f7955e6dc8c1240a7d3bef67af92dfda822
parentec5a306dd4e8911f22997d84ce029affbb582132
[libclang] Make sure we don't crash when trying to index code that
managed to insert an @interface as top level decl contained by another
@interface.

A commit to also not allow this as valid code will be coming.

rdar://11105114.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153354 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/index-decls.m
tools/libclang/IndexDecl.cpp
tools/libclang/IndexingContext.h