diff options
| author | Alp Toker <alp@nuanti.com> | 2014-02-23 03:45:03 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-02-23 03:45:03 +0000 |
| commit | f2b6e793936188b0fcd4c15b86409a402f88e001 (patch) | |
| tree | aafb454069f5cb2b60126ab50d54fba4bf4485dc /llvm/lib/Target/Target.cpp | |
| parent | 3aa840e685658e26a58d33f03976dfee259ba779 (diff) | |
| download | bcm5719-llvm-f2b6e793936188b0fcd4c15b86409a402f88e001.tar.gz bcm5719-llvm-f2b6e793936188b0fcd4c15b86409a402f88e001.zip | |
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!
llvm-svn: 201965
Diffstat (limited to 'llvm/lib/Target/Target.cpp')
0 files changed, 0 insertions, 0 deletions

