Do not store duplicate parents when memoization data is available.
authorSamuel Benzaquen <sbenza@google.com>
Fri, 13 Jun 2014 13:31:40 +0000 (13:31 +0000)
committerSamuel Benzaquen <sbenza@google.com>
Fri, 13 Jun 2014 13:31:40 +0000 (13:31 +0000)
commit3ca0a7b4044440cc1755b3e4011d43eaf428ef77
tree2c09a4771053a30f2ea41588e8ab3febd85227ae
parented5f645bf3a37887d765e98804a7a89da89f631f
Do not store duplicate parents when memoization data is available.

Summary:
Do not store duplicate parents when memoization data is available.
This does not solve the duplication problem, but ameliorates it.

Reviewers: klimek

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D4124

llvm-svn: 210902
clang/lib/AST/ASTContext.cpp
clang/unittests/ASTMatchers/ASTMatchersTest.cpp