summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-02-23 03:45:03 +0000
committerAlp Toker <alp@nuanti.com>2014-02-23 03:45:03 +0000
commitb5595cd0e48d97c90b89364b60c8ba1672daba74 (patch)
tree12c36cff1785a9a0cf4f51ff92ba8781b211051e /lib/CodeGen/CodeGenFunction.cpp
parentf1026e6ca9b8c3b16227fd40e51d7ee4c917f49a (diff)
downloadclang-b5595cd0e48d97c90b89364b60c8ba1672daba74.tar.gz
clang-b5595cd0e48d97c90b89364b60c8ba1672daba74.tar.bz2
clang-b5595cd0e48d97c90b89364b60c8ba1672daba74.tar.xz
Fix crash when both ExpectAndConsume and ConsumeAnyToken emit diagnostics
The DiagnosticBuilder's lifetime in parser typo recovery was overlapping with the subsequent consume which can itself emit PP diagnostics. Patch by Olivier Goffart! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201965 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions