summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-07-16 13:20:30 +0000
committerManuel Klimek <klimek@google.com>2013-07-16 13:20:30 +0000
commit55d8fb56d34f550a54f2920e67e0bfdbe0ca20bc (patch)
treed696316f2e6fe5c7cfb79b21d439ce333e7a322f /llvm/lib/Support/ErrorHandling.cpp
parentaf4806f719f65b18f88a958738a28982ceb28fb6 (diff)
downloadbcm5719-llvm-55d8fb56d34f550a54f2920e67e0bfdbe0ca20bc.tar.gz
bcm5719-llvm-55d8fb56d34f550a54f2920e67e0bfdbe0ca20bc.zip
Fixes another hard to test problem with iterator invalidation.
As every match call can recursively call back into the memoized match via a nested traversal matcher (for example: stmt(hasAncestor(stmt(hasDescendant(stmt(hasDescendant(stmt()))))))), and every memoization step might clear the cache, we must not store iterators into the result cache when calling match on a submatcher. llvm-svn: 186411
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud