summaryrefslogtreecommitdiffstats
path: root/test/Index/read-empty-diags.test
Commit message (Collapse)AuthorAgeFilesLines
* [Frontend] Verify that the bitstream is not empty before readingAlex Lorenz2017-07-071-0/+2
the serialised diagnostics Clang should avoid calling report_fatal_error when the file with the serialised diagnostics is empty. This commit changes Clang's serialised diagnostic reader, now it reports an appropriate error instead of crashing. rdar://31939877 Differential Revision: https://reviews.llvm.org/D35069 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@307384 91177308-0d34-0410-b5e6-96231b3b80d8