Serialization: Merge three diagnostics to simplify ASTReader::getInputFile, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 12 Nov 2020 17:53:49 +0000 (12:53 -0500)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 13 Nov 2020 21:23:04 +0000 (16:23 -0500)
commita2f2c2f3a46351bc5478acd290258d318af2cd88
treeb293d8022284421a21ca260a4bd966d0766a0fa6
parentd8437552205d5036f3746d760002fbb637f4018d
Serialization: Merge three diagnostics to simplify ASTReader::getInputFile, NFC

Clean up the logic for `err_fe_{pch,module,ast}_file_modified` to use a
`select` like other ASTReader diagnostics. There should be no
functionality change here, just a cleanup.

Differential Revision: https://reviews.llvm.org/D91367
clang/include/clang/Basic/DiagnosticSerializationKinds.td
clang/lib/Serialization/ASTReader.cpp