summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorSirraide <aeternalmail@gmail.com>2025-06-11 23:24:33 +0200
committerGitHub <noreply@github.com>2025-06-11 23:24:33 +0200
commit7838fc0cd3fbe578d9554fdcd3198c2ba3616bcc (patch)
treec49cc4416348d4d207753fa8dbc36bc45feac484 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent625bfb7179ad1acab2aba1023095826628275a60 (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