[all-commits] [llvm/llvm-project] a2f2c2: Serialization: Merge three diagnostics to simplify...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Nov 13 13:23:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a2f2c2f3a46351bc5478acd290258d318af2cd88
      https://github.com/llvm/llvm-project/commit/a2f2c2f3a46351bc5478acd290258d318af2cd88
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSerializationKinds.td
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list