summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2016-04-19 15:52:56 +0000
committerSamuel Benzaquen <sbenza@google.com>2016-04-19 15:52:56 +0000
commitd6b44aad313c3d3dbb1f0749301eb79e8a9ba32c (patch)
treec1481677f4c89f8b7199ad0a9ca78723cdd13040 /llvm/test
parentbbfd5566401962352bd26085b73f1e445e68a0d8 (diff)
downloadbcm5719-llvm-d6b44aad313c3d3dbb1f0749301eb79e8a9ba32c.tar.gz
bcm5719-llvm-d6b44aad313c3d3dbb1f0749301eb79e8a9ba32c.zip
[ASTMatchers] Do not try to memoize nodes we can't compare.
Summary: Prevent hasAncestor from comparing nodes that are not supported. hasDescendant was fixed some time ago to avoid this problem. I'm applying the same fix to hasAncestor: if any object in the Builder map is not comparable, skip the cache. Reviewers: alexfh Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D19231 llvm-svn: 266748
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud