[index] Avoid one more crash caused by infinite recursion that happens when
authorAlex Lorenz <arphaman@gmail.com>
Thu, 18 May 2017 18:06:07 +0000 (18:06 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Thu, 18 May 2017 18:06:07 +0000 (18:06 +0000)
commit6796c0b97fafcc03a6a4bda555136d3bf42768ac
tree662cd79ff0f2af4b9403758e37d2ef5ad6c2653b
parentf8355ccb77eda715e6f7058e475aeaa46d9beee0
[index] Avoid one more crash caused by infinite recursion that happens when
looking up a dependent name in a record that derives from itself

rdar://32273000

Differential Revision: https://reviews.llvm.org/D33324

llvm-svn: 303366
clang/include/clang/AST/CXXInheritance.h
clang/lib/AST/CXXInheritance.cpp
clang/test/Index/Core/index-dependent-source.cpp