[all-commits] [llvm/llvm-project] eef690: clang/Modules: Delay err_module_file_conflict if a...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Mon Nov 11 15:45:15 PST 2019


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

  Changed paths:
    M clang/include/clang/Basic/Diagnostic.h
    M clang/include/clang/Serialization/ASTReader.h
    M clang/lib/Basic/Diagnostic.cpp
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  clang/Modules: Delay err_module_file_conflict if a diagnostic is in flight

As part of an audit of whether all errors are being reported from the
ASTReader, delay err_module_file_conflict if a diagnostic is already in
flight when it is hit.  This required plumbing an extra argument through
the delayed diagnostic mechanics in DiagnosticsEngine.




More information about the All-commits mailing list