clang/Modules: Add missing diagnostics for malformed AST files
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sun, 10 Nov 2019 19:07:20 +0000 (11:07 -0800)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 12 Nov 2019 00:00:47 +0000 (16:00 -0800)
commit8e2c192e2af8c760152ba3b28e774dbb1548e4aa
treeb03f3c9eb01c7df35af8fb9ebed0f9f54f5ae9bf
parent0b8dfb5762fdc350c5071c9eeffd4f7e4d495e98
clang/Modules: Add missing diagnostics for malformed AST files

These were found via an audit.  In the case of `ParseLineTable` this is
actually dead code, since parsing the line table always succeeds, but
it's prudent to be defensive since it's possible an assertion there
could be converted to a `true` return in the future.
clang/lib/Serialization/ASTReader.cpp