diff options
| author | Sirraide <aeternalmail@gmail.com> | 2025-06-11 23:24:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 23:24:33 +0200 |
| commit | 7838fc0cd3fbe578d9554fdcd3198c2ba3616bcc (patch) | |
| tree | c49cc4416348d4d207753fa8dbc36bc45feac484 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 625bfb7179ad1acab2aba1023095826628275a60 (diff) | |
[Clang] [NFC] Move diagnostics emitting code from `DiagnosticIDs` into `DiagnosticsEngine` (#143517)
It makes more sense for this functionality to be all in one place rather
than split up across two files—at least it caused me a bit of a headache
to try and find all places where we were actually forwarding the
diagnostic to the `DiagnosticConsumer`. Moreover, moving these functions
into `DiagnosticsEngine` simplifies the code quite a bit since we access
members of `DiagnosticsEngine` more frequently than those of
`DiagnosticIDs`. There was also a duplicated code snippet that I’ve
moved out into a new function.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
