Home
last modified time | relevance | path

Searched refs:diagnostics (Results 1 – 25 of 256) sorted by relevance

1234567891011

/openbsd-src/gnu/llvm/clang/bindings/python/tests/cindex/
H A Dtest_diagnostics.py18 self.assertEqual(len(tu.diagnostics), 1)
19 self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning)
20 self.assertEqual(tu.diagnostics[0].location.line, 1)
21 self.assertEqual(tu.diagnostics[0].location.column, 11)
22 self.assertEqual(tu.diagnostics[0].spelling,
28 self.assertEqual(len(tu.diagnostics), 1)
29 self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Error)
30 self.assertEqual(tu.diagnostics[0].location.line, 2)
31 self.assertEqual(tu.diagnostics[0].location.column, 7)
32 self.assertIn('incompatible', tu.diagnostics[0].spelling)
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DDiagnosticOptions.def50 DIAGOPT(ShowLine, 1, 1) /// Show line number on diagnostics.
51 DIAGOPT(ShowColumn, 1, 1) /// Show column number on diagnostics.
55 DIAGOPT(ShowCarets, 1, 1) /// Show carets in diagnostics.
59 DIAGOPT(ShowPresumedLoc, 1, 0) /// Show presumed location for diagnostics.
61 /// diagnostics.
66 ENUM_DIAGOPT(Format, TextDiagnosticFormat, 2, Clang) /// Format for diagnostics:
68 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.
72 DIAGOPT(VerifyDiagnostics, 1, 0) /// Check that diagnostics match the expected
73 /// diagnostics, indicated by markers in the
76 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
[all …]
H A DDiagnostic.td9 // This file defines the TableGen core definitions for the diagnostics
41 // Textual substitutions which may be performed on the text of diagnostics
45 // diagnostics
52 // diagnostics to specify a category.
77 // All diagnostics emitted by the compiler are an indirect subclass of this.
H A DDiagnosticRefactoringKinds.td1 //==--- DiagnosticRefactoringKinds.td - refactoring diagnostics -----------===//
33 } // end of Refactoring diagnostics
/openbsd-src/gnu/llvm/lldb/source/Expression/
H A DUtilityFunction.cpp88 DiagnosticManager diagnostics; in MakeFunctionCaller() local
91 m_caller_up->CompileFunction(thread_to_use_sp, diagnostics); in MakeFunctionCaller()
95 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller()
100 diagnostics.Clear(); in MakeFunctionCaller()
103 if (!m_caller_up->WriteFunctionWrapper(exe_ctx, diagnostics)) { in MakeFunctionCaller()
106 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Util/
H A DFacets2Legacy.t67 tests diagnostics => sub {
68 is(diagnostics({}), 0, "Default is no");
70 is(diagnostics({errors => [{}]}), 1, "Errors mean diagnostics");
71 is(diagnostics({info => [{}]}), 0, "Info alone does not make diagnostics");
73 is(diagnostics({info => [{debug => 1}]}), 1, "Debug flag makes info diagnostics");
/openbsd-src/gnu/llvm/clang/utils/analyzer/
H A DCmpRuns.py214 self.diagnostics: List[AnalysisDiagnostic] = []
259 diagnostics = [AnalysisDiagnostic(d, report, h)
264 report.diagnostics.extend(diagnostics)
266 self.diagnostics.extend(diagnostics)
273 self.diagnostics: List[AnalysisDiagnostic] = []
342 def get_grouped_diagnostics(diagnostics: List[AnalysisDiagnostic]
345 for diagnostic in diagnostics:
366 diags_old = get_grouped_diagnostics(results_old.diagnostics)
367 diags_new = get_grouped_diagnostics(results_new.diagnostics)
475 for diagnostic in report.diagnostics:
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/SystemRuntime/MacOSX/
H A DAppleGetQueuesHandler.cpp149 DiagnosticManager diagnostics; in SetupGetQueuesFunction() local
176 diagnostics.Dump(log); in SetupGetQueuesFunction()
198 diagnostics.Clear(); in SetupGetQueuesFunction()
206 exe_ctx, args_addr, get_queues_arglist, diagnostics)) { in SetupGetQueuesFunction()
209 diagnostics.Dump(log); in SetupGetQueuesFunction()
332 DiagnosticManager diagnostics; in GetCurrentQueues() local
350 exe_ctx, &args_addr, options, diagnostics, results); in GetCurrentQueues()
H A DAppleGetItemInfoHandler.cpp132 DiagnosticManager diagnostics; in SetupGetItemInfoFunction() local
196 diagnostics.Clear(); in SetupGetItemInfoFunction()
204 exe_ctx, args_addr, get_item_info_arglist, diagnostics)) { in SetupGetItemInfoFunction()
207 diagnostics.Dump(log); in SetupGetItemInfoFunction()
322 DiagnosticManager diagnostics; in GetItemInfo() local
356 diagnostics, results); in GetItemInfo()
H A DAppleGetPendingItemsHandler.cpp136 DiagnosticManager diagnostics; in SetupGetPendingItemsFunction() local
186 diagnostics.Clear(); in SetupGetPendingItemsFunction()
199 exe_ctx, args_addr, get_pending_items_arglist, diagnostics)) { in SetupGetPendingItemsFunction()
202 diagnostics.Dump(log); in SetupGetPendingItemsFunction()
321 DiagnosticManager diagnostics; in GetPendingItems() local
348 exe_ctx, &args_addr, options, diagnostics, results); in GetPendingItems()
H A DAppleGetThreadItemInfoHandler.cpp143 DiagnosticManager diagnostics; in SetupGetThreadItemInfoFunction() local
198 diagnostics.Clear(); in SetupGetThreadItemInfoFunction()
206 exe_ctx, args_addr, get_thread_item_info_arglist, diagnostics)) { in SetupGetThreadItemInfoFunction()
209 diagnostics.Dump(log); in SetupGetThreadItemInfoFunction()
323 DiagnosticManager diagnostics; in GetThreadItemInfo() local
358 exe_ctx, &args_addr, options, diagnostics, results); in GetThreadItemInfo()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.cpp104 DiagnosticManager diagnostics; in InferiorCallMmap() local
111 exe_ctx, call_plan_sp, options, diagnostics); in InferiorCallMmap()
173 DiagnosticManager diagnostics; in InferiorCallMunmap() local
180 exe_ctx, call_plan_sp, options, diagnostics); in InferiorCallMunmap()
/openbsd-src/gnu/llvm/clang/tools/diagtool/
H A DTreeView.cpp40 if (!Group.diagnostics().empty()) in unimplemented()
47 for (const DiagnosticRecord &DR : Group.diagnostics()) { in enabledByDefault()
78 for (const DiagnosticRecord &DR : Group.diagnostics()) { in printGroup()
/openbsd-src/gnu/llvm/clang/docs/CommandGuide/
H A Ddiagtool.rst1 diagtool - clang diagnostics tool
12 :program:`diagtool` is a combination of four tools for dealing with diagnostics in :program:`clang`.
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/
H A DFail.t14 is($one->diagnostics, 0, 'diagnostics');
H A DPass.t14 is($one->diagnostics, 0, 'diagnostics');
H A DException.t15 ok($exception->diagnostics, "Exception events are counted as diagnostics");
H A DBail.t21 ok($bail->diagnostics, "Bail events are counted as diagnostics");
H A DDiag.t29 ok($diag->diagnostics, "Diag events are counted as diagnostics");
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DThreadPlanCallUserExpression.cpp83 DiagnosticManager diagnostics; in MischiefManaged() local
88 diagnostics, exe_ctx, m_result_var_sp, function_stack_bottom, in MischiefManaged()
/openbsd-src/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp250 DiagnosticManager diagnostics; in ConditionSaysStop() local
271 if (!m_user_expression_sp->Parse(diagnostics, exe_ctx, in ConditionSaysStop()
276 diagnostics.GetString().c_str()); in ConditionSaysStop()
298 diagnostics.Clear(); in ConditionSaysStop()
303 diagnostics, exe_ctx, options, m_user_expression_sp, result_variable_sp); in ConditionSaysStop()
334 diagnostics.GetString().c_str()); in ConditionSaysStop()
/openbsd-src/gnu/llvm/llvm/docs/
H A DRemarks.rst8 Introduction to the LLVM remark diagnostics
11 LLVM is able to emit diagnostics from passes describing whether an optimization
58 LLVM: through remark diagnostics, or through serialized remarks.
60 Remark diagnostics
63 Optimization remarks can be emitted as diagnostics. These diagnostics will be
85 While diagnostics are useful during development, it is often more useful to
255 * the absolute file path to the serialized remark diagnostics: a
581 Emitting remark diagnostics in the object file
584 A section containing metadata on remark diagnostics will be emitted for the
628 up in the ``LLVMContext``, and will operate on its own type of diagnostics.
H A DMisExpect.rst17 diagnostics are intended to help developers identify and address these
35 We calculate the threshold for emitting MisExpect related diagnostics
44 The diagnostics are also available in the form of optimization remarks,
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Windows/
H A DPlatformWindows.cpp168 DiagnosticManager diagnostics; in DoLoadImage() local
331 diagnostics.Clear(); in DoLoadImage()
333 parameters, diagnostics)) { in DoLoadImage()
335 diagnostics.GetString().c_str()); in DoLoadImage()
373 diagnostics, value); in DoLoadImage()
376 diagnostics.GetString().c_str()); in DoLoadImage()
/openbsd-src/gnu/llvm/clang/docs/
H A DMisExpect.rst18 MisExpect diagnostics are intended to help developers identify and address
32 Because this may be too strict, MisExpect diagnostics are not enabled by
40 MisExpect diagnostics are also available in the form of optimization remarks,

1234567891011