aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-11-15 15:18:42 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-11-15 15:18:42 +0000
commit1b48633d308460049e1132960f3c33c850de5bd2 (patch)
tree87451b5fd991050c65ecfa70946d818f923d699a /lib/Frontend/ASTUnit.cpp
parentc4a77906c259cba58c147d8468c406a430ecdcbb (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