HomePhabricator

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

Authored by dexonsmith on Nov 10 2019, 11:17 AM.

Description

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.

(cherry picked from commit eef69021607950487a9e4110851a05abb54d0fb6)

Details

Committed
dexonsmithNov 12 2019, 9:03 AM
Parents
rG94f1f0a63411: clang/Modules: Remove unused parameter from ModuleManager::removeModules
Branches
Unknown
Tags
Unknown