mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 03:00:30 +00:00
Change CodeGen to use a diagnostic consumer (#5847)
We've been trying to have errors/warnings all go through the diagnostics consumers instead of straight to stderr.
This commit is contained in:
1 parent
59619fa8eb
commit
d599023c19
6 files changed
+35
-16
No files matched your search
@@ -43,6 +43,9 @@ constexpr Kind UntestedKinds[] = {
|
||||
// This is a little long but is tested in lex/numeric_literal_test.cpp.
|
||||
Kind::TooManyDigits,
|
||||
|
||||
// Producing an emit failure may be infeasible.
|
||||
Kind::CodeGenUnableToEmit,
|
||||
|
||||
// TODO: This can only fire if the first message in a diagnostic is rooted
|
||||
// in a file other than the file being compiled. The language server
|
||||
// currently only supports compiling one file at a time. Do one of:
|
||||
|
||||
Reference in new issue
Block a user