diff options
| author | Fangrui Song <i@maskray.me> | 2023-12-19 21:51:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-19 21:51:26 -0800 |
| commit | 207cbbd71009090768c63004b967eddfab0f1d2e (patch) | |
| tree | 4de085034aa32ae9534f913c378111cc62caf96b /lldb/test/API/python_api/global_module_cache | |
| parent | 47413bb2760e63a3302871ea770d6c0f5a742036 (diff) | |
DiagnosticHandler: refactor error checking (#75889)
In LLVMContext::diagnose, set `HasErrors` for `DS_Error` so that all
derived `DiagnosticHandler` have correct `HasErrors` information.
An alternative is to set `HasErrors` in
`DiagnosticHandler::handleDiagnostics`, but all derived
`handleDiagnostics` would have to call the base function.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache')
0 files changed, 0 insertions, 0 deletions
