[PATCH] D19231: [ASTMatchers] Do not try to memoize nodes we can't compare.
Samuel Benzaquen via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 18 11:33:41 PDT 2016
sbenza created this revision.
sbenza added a reviewer: alexfh.
sbenza added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4576 bytes
Desc: not available
More information about the cfe-commits