Skip to content

Commit b0b1554

Browse files
authored
Refactor diagnostic_emitter.h (#4871)
I'm planning on eliminating DiagnosticConverter. As part of this, collapse it into diagnostic_emitter.h, and refactoring the header a little so that it's more readable when making changes.
1 parent 133717c commit b0b1554

File tree

5 files changed

+200
-165
lines changed

5 files changed

+200
-165
lines changed

toolchain/check/sem_ir_diagnostic_converter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "llvm/ADT/ArrayRef.h"
99
#include "toolchain/check/diagnostic_helpers.h"
10-
#include "toolchain/diagnostics/diagnostic_converter.h"
10+
#include "toolchain/diagnostics/diagnostic_emitter.h"
1111
#include "toolchain/lex/token_index.h"
1212
#include "toolchain/parse/tree_and_subtrees.h"
1313
#include "toolchain/sem_ir/file.h"

toolchain/diagnostics/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ cc_library(
2121
hdrs = [
2222
"diagnostic.h",
2323
"diagnostic_consumer.h",
24-
"diagnostic_converter.h",
2524
"diagnostic_emitter.h",
2625
],
2726
deps = [

toolchain/diagnostics/diagnostic_converter.h

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)