aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.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
commit671f4c0ce1e0a51ca495ba49c42c9fdafa3bf32d (patch)
treeb66c97dc40c69b2ac9dca77c67fb208746ba424f /clang/lib/Frontend/CompilerInvocation.cpp
parent93dcc8d2bd276871b3c5422c9d0ebbf7cec12166 (diff)
downloadllvm-671f4c0ce1e0a51ca495ba49c42c9fdafa3bf32d.zip
llvm-671f4c0ce1e0a51ca495ba49c42c9fdafa3bf32d.tar.gz
llvm-671f4c0ce1e0a51ca495ba49c42c9fdafa3bf32d.tar.bz2
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. llvm-svn: 168045
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions