Home
last modified time | relevance | path

Searched refs:DiagnosticSeverity (Results 1 – 25 of 58) sorted by relevance

123

/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp152 assert(severity != DiagnosticSeverity::Note && in attachNote()
161 std::make_unique<Diagnostic>(*noteLoc, DiagnosticSeverity::Note)); in attachNote()
231 if (diag.getSeverity() != DiagnosticSeverity::Error) in emit()
270 assert(diag.getSeverity() != DiagnosticSeverity::Note && in emit()
279 emitDiag(Location location, DiagnosticSeverity severity, const Twine &message) { in emitDiag()
303 return emitDiag(loc, DiagnosticSeverity::Error, message); in emitError()
311 return emitDiag(loc, DiagnosticSeverity::Warning, message); in emitWarning()
319 return emitDiag(loc, DiagnosticSeverity::Remark, message); in emitRemark()
404 static llvm::SourceMgr::DiagKind getDiagKind(DiagnosticSeverity kind) { in getDiagKind()
406 case DiagnosticSeverity::Note: in getDiagKind()
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h37 enum DiagnosticSeverity : char { enum
91 const DiagnosticSeverity Severity;
94 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo()
100 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
129 DiagnosticSeverity Severity = DS_Error)
138 DiagnosticSeverity Severity = DS_Error)
148 DiagnosticSeverity Severity = DS_Error);
184 DiagnosticSeverity Severity = DS_Warning,
211 DiagnosticSeverity Severity = DS_Warning,
237 DiagnosticSeverity Severity = DS_Warning)
[all …]
DLLVMContext.h32 enum DiagnosticSeverity : char;
179 static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity);
/external/llvm-project/lldb/include/lldb/Expression/
DDiagnosticManager.h31 enum DiagnosticSeverity { enum
58 Diagnostic(llvm::StringRef message, DiagnosticSeverity severity, in Diagnostic()
71 DiagnosticSeverity GetSeverity() const { return m_severity; } in GetSeverity()
86 DiagnosticSeverity m_severity;
109 void AddDiagnostic(llvm::StringRef message, DiagnosticSeverity severity,
120 size_t Printf(DiagnosticSeverity severity, const char *format, ...)
122 void PutString(DiagnosticSeverity severity, llvm::StringRef str);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h42 enum DiagnosticSeverity : char { enum
103 const DiagnosticSeverity Severity;
107 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo()
113 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
142 DiagnosticSeverity Severity = DS_Error)
150 DiagnosticSeverity Severity = DS_Error)
160 DiagnosticSeverity Severity = DS_Error);
195 DiagnosticSeverity Severity = DS_Warning,
218 DiagnosticSeverity Severity = DS_Warning,
244 DiagnosticSeverity Severity = DS_Warning)
[all …]
DLLVMContext.h27 enum DiagnosticSeverity : char;
241 static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity);
/external/llvm-project/llvm/include/llvm/IR/
DDiagnosticInfo.h43 enum DiagnosticSeverity : char { enum
104 const DiagnosticSeverity Severity;
108 DiagnosticInfo(/* DiagnosticKind */ int Kind, DiagnosticSeverity Severity) in DiagnosticInfo()
114 DiagnosticSeverity getSeverity() const { return Severity; } in getSeverity()
143 DiagnosticSeverity Severity = DS_Error)
151 DiagnosticSeverity Severity = DS_Error)
161 DiagnosticSeverity Severity = DS_Error);
196 DiagnosticSeverity Severity = DS_Warning,
219 DiagnosticSeverity Severity = DS_Warning,
245 DiagnosticSeverity Severity = DS_Warning)
[all …]
DLLVMContext.h27 enum DiagnosticSeverity : char;
267 static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity);
/external/llvm-project/mlir/lib/CAPI/IR/
DDiagnostics.cpp30 case mlir::DiagnosticSeverity::Error: in mlirDiagnosticGetSeverity()
32 case mlir::DiagnosticSeverity::Warning: in mlirDiagnosticGetSeverity()
34 case mlir::DiagnosticSeverity::Note: in mlirDiagnosticGetSeverity()
36 case mlir::DiagnosticSeverity::Remark: in mlirDiagnosticGetSeverity()
/external/llvm-project/lldb/source/Expression/
DDiagnosticManager.cpp34 static const char *StringForSeverity(DiagnosticSeverity severity) { in StringForSeverity()
59 size_t DiagnosticManager::Printf(DiagnosticSeverity severity, in Printf()
73 void DiagnosticManager::PutString(DiagnosticSeverity severity, in PutString()
/external/llvm-project/mlir/include/mlir/IR/
DDiagnostics.h39 enum class DiagnosticSeverity { enum
175 Diagnostic(Location loc, DiagnosticSeverity severity) in Diagnostic()
181 DiagnosticSeverity getSeverity() const { return severity; } in getSeverity()
284 DiagnosticSeverity severity;
435 InFlightDiagnostic emit(Location loc, DiagnosticSeverity severity) { in emit()
436 assert(severity != DiagnosticSeverity::Note && in emit()
540 void emitDiagnostic(Location loc, Twine message, DiagnosticSeverity kind,
596 void process(FileLineColLoc loc, StringRef msg, DiagnosticSeverity kind);
/external/llvm-project/lldb/unittests/Expression/
DDiagnosticManagerTest.cpp22 : Diagnostic(msg, DiagnosticSeverity::eDiagnosticSeverityError, in FixItDiag()
32 TextDiag(llvm::StringRef msg, DiagnosticSeverity severity) in TextDiag()
43 DiagnosticSeverity severity = DiagnosticSeverity::eDiagnosticSeverityError; in TEST()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Derror_util.cc67 if (diag->getSeverity() != DiagnosticSeverity::Error && VLOG_IS_ON(1)) in handler()
77 if (diag->getSeverity() != DiagnosticSeverity::Error) { in handler()
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DLLVMContext.h28 enum DiagnosticSeverity : char;
206 static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity);
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Denums.go202 func (e DiagnosticSeverity) Format(f fmt.State, c rune) {
206 func ParseDiagnosticSeverity(s string) DiagnosticSeverity {
207 return DiagnosticSeverity(parseEnum(s, namesDiagnosticSeverity[:]))
Dtsprotocol.go2951 Severity DiagnosticSeverity `json:"severity,omitempty"`
3990 type DiagnosticSeverity float64 type
4194 SeverityError DiagnosticSeverity = 1
4199 SeverityWarning DiagnosticSeverity = 2
4204 SeverityInformation DiagnosticSeverity = 3
4209 SeverityHint DiagnosticSeverity = 4
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Denums.go202 func (e DiagnosticSeverity) Format(f fmt.State, c rune) {
206 func ParseDiagnosticSeverity(s string) DiagnosticSeverity {
207 return DiagnosticSeverity(parseEnum(s, namesDiagnosticSeverity[:]))
Dtsprotocol.go2951 Severity DiagnosticSeverity `json:"severity,omitempty"`
3990 type DiagnosticSeverity float64 type
4194 SeverityError DiagnosticSeverity = 1
4199 SeverityWarning DiagnosticSeverity = 2
4204 SeverityInformation DiagnosticSeverity = 3
4209 SeverityHint DiagnosticSeverity = 4
/external/llvm/lib/Linker/
DLinkDiagnosticInfo.h20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DLinkDiagnosticInfo.h19 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
/external/llvm-project/llvm/lib/Linker/
DLinkDiagnosticInfo.h19 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangDiagnostic.h32 ClangDiagnostic(llvm::StringRef message, DiagnosticSeverity severity, in ClangDiagnostic()
/external/llvm/include/llvm/Bitcode/
DReaderWriter.h196 BitcodeDiagnosticInfo(std::error_code EC, DiagnosticSeverity Severity,
/external/llvm/lib/IR/
DDiagnosticInfo.cpp98 DiagnosticSeverity Severity) in DiagnosticInfoInlineAsm()
/external/llvm-project/llvm/lib/Target/X86/
DX86InsertPrefetch.cpp166 DiagnosticSeverity::DS_Warning)); in doInitialization()

123