diff options
| author | Manuel Klimek <klimek@google.com> | 2013-07-16 13:20:30 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-07-16 13:20:30 +0000 |
| commit | 5f574bf631e973546f6f2c4484cb8ca6480b91d5 (patch) | |
| tree | d02d18df7bb34f1e89c1be9298a5a4f8dfc78405 /lib/CodeGen/CGExprConstant.cpp | |
| parent | e7d3bff31e3ef4fea1e2a5a7cd5441b6b0752e3f (diff) | |
| download | clang-5f574bf631e973546f6f2c4484cb8ca6480b91d5.tar.gz clang-5f574bf631e973546f6f2c4484cb8ca6480b91d5.tar.bz2 clang-5f574bf631e973546f6f2c4484cb8ca6480b91d5.tar.xz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions
