commit | 1b48633d308460049e1132960f3c33c850de5bd2 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Nov 15 15:18:42 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Nov 15 15:18:42 2012 +0000 |
tree | 87451b5fd991050c65ecfa70946d818f923d699a | |
parent | c4a77906c259cba58c147d8468c406a430ecdcbb [diff] |
Do not cache a pointer to ExprEvalContexts.back(). It may become a dangling pointer if the underlying SmallVector reallocates. Sadly the testcase is really large and doesn't reduce well because of SmallVector's reallocation patterns. Fixes PR14336. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168045 91177308-0d34-0410-b5e6-96231b3b80d8