diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-05-03 15:41:16 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-05-03 15:41:16 +0000 |
commit | d7dfec818b372b8e5d9addd0d2f224e824283d03 (patch) | |
tree | 0c8fab6cf54c8d15bc3caa32cedd498f01c4cd20 /llvm/lib/Support/BinaryStreamWriter.cpp | |
parent | d10df49c90fd0229c2364b119aebeba412b6bed0 (diff) | |
download | llvm-d7dfec818b372b8e5d9addd0d2f224e824283d03.zip llvm-d7dfec818b372b8e5d9addd0d2f224e824283d03.tar.gz llvm-d7dfec818b372b8e5d9addd0d2f224e824283d03.tar.bz2 |
DiagnosticsEngine should clear DelayedDiagID before reporting the
delayed diagnostic
This avoids an infinite loop that was uncovered in one of our internal tests
by r301992. The testcase is the most reduced version of that auto-generated
test.
rdar://31962618
llvm-svn: 302037
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions