Revert r167816 and replace it with a proper fix for the issue: do not
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 21 Feb 2015 02:31:57 +0000 (02:31 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 21 Feb 2015 02:31:57 +0000 (02:31 +0000)
commit40c7806451f484436aa0bdfa53254cf41d3427fa
treeca4fdda9f83fafa01e86308384294d77a337eeaa
parent65500d4b29bdd03f6e3d14bd09550465bd9e16ed
Revert r167816 and replace it with a proper fix for the issue: do not
invalidate lookup_iterators and lookup_results for some name within a
DeclContext if the lookup results for a *different* name change.

llvm-svn: 230121
clang/include/clang/AST/DeclBase.h
clang/include/clang/AST/DeclContextInternals.h
clang/lib/AST/DeclBase.cpp
clang/lib/AST/DeclCXX.cpp
clang/lib/Sema/SemaInit.cpp
clang/lib/Serialization/ASTWriter.cpp