diff options
author | Ben Langmuir <blangmuir@apple.com> | 2025-02-13 14:06:17 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-13 14:06:17 -0800 |
commit | e3cab30ab96e1d22bbedff005673ae0c1431c3af (patch) | |
tree | 68296bfa3d0421b699ad933830b505a56324546a /llvm/lib/Target/DirectX/DirectXTargetMachine.cpp | |
parent | c9ba2b08d57fb682d4fe9ab2dd6f14d464b081df (diff) | |
download | llvm-e3cab30ab96e1d22bbedff005673ae0c1431c3af.zip llvm-e3cab30ab96e1d22bbedff005673ae0c1431c3af.tar.gz llvm-e3cab30ab96e1d22bbedff005673ae0c1431c3af.tar.bz2 |
[clang][deps] Ensure DiagnosticConsumer::finish is always called (#127110)
When using the clang dependency scanner with an arbitrary
DiagnosticConsumer, it is important that we always call finish().
Previously, if there was an error preventing us from reaching the
scanning action, or if the command line contained no scannable actions
we would fail to finish(), which would break some consumers (e.g.
serialized diag consumer).
Diffstat (limited to 'llvm/lib/Target/DirectX/DirectXTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions