diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-15 15:18:42 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-11-15 15:18:42 +0000 |
commit | 1b48633d308460049e1132960f3c33c850de5bd2 (patch) | |
tree | 87451b5fd991050c65ecfa70946d818f923d699a /lib/Frontend/ASTUnit.cpp | |
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
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions