| /openbsd-src/gnu/llvm/clang/bindings/python/tests/cindex/ |
| H A D | test_diagnostics.py | 18 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 D | DiagnosticOptions.def | 50 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 D | Diagnostic.td | 9 // 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 D | DiagnosticRefactoringKinds.td | 1 //==--- DiagnosticRefactoringKinds.td - refactoring diagnostics -----------===// 33 } // end of Refactoring diagnostics
|
| /openbsd-src/gnu/llvm/lldb/source/Expression/ |
| H A D | UtilityFunction.cpp | 88 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 D | Facets2Legacy.t | 67 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 D | CmpRuns.py | 214 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 D | AppleGetQueuesHandler.cpp | 149 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 D | AppleGetItemInfoHandler.cpp | 132 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 D | AppleGetPendingItemsHandler.cpp | 136 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 D | AppleGetThreadItemInfoHandler.cpp | 143 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 D | InferiorCallPOSIX.cpp | 104 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 D | TreeView.cpp | 40 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 D | diagtool.rst | 1 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 D | Fail.t | 14 is($one->diagnostics, 0, 'diagnostics');
|
| H A D | Pass.t | 14 is($one->diagnostics, 0, 'diagnostics');
|
| H A D | Exception.t | 15 ok($exception->diagnostics, "Exception events are counted as diagnostics");
|
| H A D | Bail.t | 21 ok($bail->diagnostics, "Bail events are counted as diagnostics");
|
| H A D | Diag.t | 29 ok($diag->diagnostics, "Diag events are counted as diagnostics");
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | ThreadPlanCallUserExpression.cpp | 83 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 D | BreakpointLocation.cpp | 250 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 D | Remarks.rst | 8 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 D | MisExpect.rst | 17 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 D | PlatformWindows.cpp | 168 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 D | MisExpect.rst | 18 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,
|