Home
last modified time | relevance | path

Searched refs:Severity (Results 1 – 25 of 57) sorted by relevance

123

/third_party/rust/crates/codespan/codespan-reporting/src/
Ddiagnostic.rs21 pub enum Severity { enum
34 impl Severity { impl
38 Severity::Bug => 5, in to_cmp_int()
39 Severity::Error => 4, in to_cmp_int()
40 Severity::Warning => 3, in to_cmp_int()
41 Severity::Note => 2, in to_cmp_int()
42 Severity::Help => 1, in to_cmp_int()
47 impl PartialOrd for Severity { implementation
48 fn partial_cmp(&self, other: &Severity) -> Option<std::cmp::Ordering> { in partial_cmp()
121 pub severity: Severity,
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h103 const DiagnosticSeverity Severity; variable
107 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo() argument
108 : Kind(Kind), Severity(Severity) {} in DiagnosticInfo()
113 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
142 DiagnosticSeverity Severity = DS_Error)
143 : DiagnosticInfo(DK_InlineAsm, Severity), MsgStr(MsgStr) {} in DiagnosticInfo() argument
150 DiagnosticSeverity Severity = DS_Error)
151 : DiagnosticInfo(DK_InlineAsm, Severity), LocCookie(LocCookie), in DiagnosticInfo() argument
160 DiagnosticSeverity Severity = DS_Error);
195 DiagnosticSeverity Severity = DS_Warning,
[all …]
/third_party/rust/crates/codespan/codespan-reporting/src/term/
Dconfig.rs3 use crate::diagnostic::{LabelStyle, Severity};
135 pub fn header(&self, severity: Severity) -> &ColorSpec { in header()
137 Severity::Bug => &self.header_bug, in header()
138 Severity::Error => &self.header_error, in header()
139 Severity::Warning => &self.header_warning, in header()
140 Severity::Note => &self.header_note, in header()
141 Severity::Help => &self.header_help, in header()
146 pub fn label(&self, severity: Severity, label_style: LabelStyle) -> &ColorSpec { in label() argument
148 (LabelStyle::Primary, Severity::Bug) => &self.primary_label_bug, in label()
149 (LabelStyle::Primary, Severity::Error) => &self.primary_label_error, in label()
[all …]
Drenderer.rs5 use crate::diagnostic::{LabelStyle, Severity};
141 severity: Severity, in render_header() argument
162 Severity::Bug => write!(self, "bug")?, in render_header()
163 Severity::Error => write!(self, "error")?, in render_header()
164 Severity::Warning => write!(self, "warning")?, in render_header()
165 Severity::Help => write!(self, "help")?, in render_header()
166 Severity::Note => write!(self, "note")?, in render_header()
234 severity: Severity, in render_snippet_source() argument
605 severity: Severity, in render_snippet_empty() argument
624 severity: Severity, in render_snippet_break() argument
[all …]
/third_party/skia/third_party/externals/tint/src/diagnostic/
Ddiagnostic.h28 enum class Severity { Note, Warning, Error, InternalCompilerError, Fatal }; enum
31 inline bool operator>=(Severity a, Severity b) {
58 Severity severity = Severity::Error;
106 if (diag.severity >= Severity::Error) { in add()
128 note.severity = diag::Severity::Note; in add_note()
143 warning.severity = diag::Severity::Warning; in add_warning()
155 error.severity = diag::Severity::Error; in add_error()
167 error.severity = diag::Severity::Error; in add_error()
186 error.severity = diag::Severity::Error; in add_error()
201 ice.severity = diag::Severity::InternalCompilerError; in add_ice()
Dformatter.cc28 const char* to_str(Severity severity) { in to_str()
30 case Severity::Note: in to_str()
32 case Severity::Warning: in to_str()
34 case Severity::Error: in to_str()
36 case Severity::InternalCompilerError: in to_str()
38 case Severity::Fatal: in to_str()
158 case Severity::Note: in format()
160 case Severity::Warning: in format()
163 case Severity::Error: in format()
166 case Severity::Fatal: in format()
[all …]
Dformatter_test.cc34 Diagnostic diag_note{Severity::Note,
37 Diagnostic diag_warn{Severity::Warning,
40 Diagnostic diag_err{Severity::Error,
43 Diagnostic diag_ice{Severity::InternalCompilerError,
46 Diagnostic diag_fatal{Severity::Fatal,
72 Diagnostic diag{Severity::Note, Source{}, "no source!", System::Test}; in TEST_F()
133 Diagnostic multiline{Severity::Warning, in TEST_F()
168 Diagnostic multiline{Severity::Warning, in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCompilationMessages.cpp26 WGPUCompilationMessageType tintSeverityToMessageType(tint::diag::Severity severity) { in tintSeverityToMessageType()
28 case tint::diag::Severity::Note: in tintSeverityToMessageType()
30 case tint::diag::Severity::Warning: in tintSeverityToMessageType()
152 case (tint::diag::Severity::Fatal): in AddFormattedTintMessages()
153 case (tint::diag::Severity::Error): in AddFormattedTintMessages()
154 case (tint::diag::Severity::InternalCompilerError): { in AddFormattedTintMessages()
159 case (tint::diag::Severity::Warning): { in AddFormattedTintMessages()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp644 lto_codegen_diagnostic_severity_t Severity; in DiagnosticHandler() local
647 Severity = LTO_DS_ERROR; in DiagnosticHandler()
650 Severity = LTO_DS_WARNING; in DiagnosticHandler()
653 Severity = LTO_DS_REMARK; in DiagnosticHandler()
656 Severity = LTO_DS_NOTE; in DiagnosticHandler()
669 (*DiagHandler)(Severity, MsgStorage.c_str(), DiagContext); in DiagnosticHandler()
701 LTODiagnosticInfo(const Twine &DiagMsg, DiagnosticSeverity Severity=DS_Error) in LTODiagnosticInfo() argument
702 : DiagnosticInfo(DK_Linker, Severity), Msg(DiagMsg) {} in LTODiagnosticInfo()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DDiagnosticsBase.h31 enum Severity enum
100 Severity severity(ID id);
DDiagnosticsBase.cpp43 Diagnostics::Severity Diagnostics::severity(ID id) in severity()
/third_party/flutter/engine/flutter/web_sdk/
Dflutter_kernel_sdk.dart24 Severity;
52 if (message.severity == Severity.error ||
53 message.severity == Severity.internalProblem) {
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSeverity.h14 enum Severity enum
DDiagnostics.h40 void writeInfo(Severity severity,
DInfoSink.cpp15 void TInfoSinkBase::prefix(Severity severity) in prefix()
DDiagnostics.cpp23 void TDiagnostics::writeInfo(Severity severity, in writeInfo()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSeverity.h14 enum Severity enum
DDiagnostics.h40 void writeInfo(Severity severity,
DInfoSink.cpp16 void TInfoSinkBase::prefix(Severity severity) in prefix()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkDiagnosticInfo.h19 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DDiagnostics.h37 void writeInfo(Severity severity,
DDiagnostics.cpp39 void TDiagnostics::writeInfo(Severity severity, in writeInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DLLVMContext.cpp201 LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { in getDiagnosticMessagePrefix() argument
202 switch (Severity) { in getDiagnosticMessagePrefix()
/third_party/unity/extras/eclipse/
Derror_parsers.txt22 Severity Pattern File Line Description
/third_party/cJSON/tests/unity/extras/eclipse/
Derror_parsers.txt22 Severity Pattern File Line Description

123