Home
last modified time | relevance | path

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

12345678910>>...33

/llvm-project-15.0.7/clang/bindings/python/tests/cindex/
H A Dtest_diagnostics.py18 self.assertEqual(len(tu.diagnostics), 1)
22 self.assertEqual(tu.diagnostics[0].spelling,
28 self.assertEqual(len(tu.diagnostics), 1)
40 self.assertEqual(len(tu.diagnostics), 1)
55 self.assertEqual(len(tu.diagnostics), 1)
73 self.assertEqual(len(tu.diagnostics), 1)
74 d = tu.diagnostics[0]
86 self.assertEqual(len(tu.diagnostics), 1)
87 d = tu.diagnostics[0]
95 d = tu.diagnostics[0]
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Damdgpu-attrs.cl5 __attribute__((amdgpu_flat_work_group_size(0, 0))) // expected-no-diagnostics
7 __attribute__((amdgpu_waves_per_eu(0))) // expected-no-diagnostics
9 __attribute__((amdgpu_waves_per_eu(0, 0))) // expected-no-diagnostics
11 __attribute__((amdgpu_num_sgpr(0))) // expected-no-diagnostics
13 __attribute__((amdgpu_num_vgpr(0))) // expected-no-diagnostics
49 __attribute__((amdgpu_flat_work_group_size(32, 64))) // expected-no-diagnostics
53 __attribute__((amdgpu_waves_per_eu(2))) // expected-no-diagnostics
57 __attribute__((amdgpu_waves_per_eu(2, 4))) // expected-no-diagnostics
61 __attribute__((amdgpu_num_sgpr(32))) // expected-no-diagnostics
65 __attribute__((amdgpu_num_vgpr(64))) // expected-no-diagnostics
[all …]
H A Dspirv_target.cl15 int res1[sizeof(my_st) == 12 ? 1 : -1]; // expected-no-diagnostics
16 int res2[sizeof(void *) == 4 ? 1 : -1]; // expected-no-diagnostics
17 int res3[sizeof(arg) == 4 ? 1 : -1]; // expected-no-diagnostics
19 int res1[sizeof(my_st) == 24 ? 1 : -1]; // expected-no-diagnostics
20 int res2[sizeof(void *) == 8 ? 1 : -1]; // expected-no-diagnostics
21 int res3[sizeof(arg) == 8 ? 1 : -1]; // expected-no-diagnostics
/llvm-project-15.0.7/clang/test/Modules/
H A Ddiagnostics.modulemap4 // CHECK: In file included from {{.*}}diagnostics-aux.modulemap:3:
5 // CHECK: diagnostics-aux-2.modulemap:2:3: error: expected
7 // PR22299: Ensure we can produce diagnostics for duplicate modules from -fmodule-map-file=.
9 // CHECK: diagnostics.modulemap:[[@LINE+2]]:8: error: redefinition of module 'foo'
10 // CHECK: diagnostics-aux.modulemap:1:8: note: previously defined here
16 …// CHECK: diagnostics.modulemap:[[@LINE+1]]:22: error: use declarations are only allowed in top-le…
21 // CHECK: diagnostics.modulemap:[[@LINE+1]]:20: error: expected a header attribute name
23 …// CHECK: diagnostics.modulemap:[[@LINE+1]]:27: error: header attribute 'size' specified multiple …
25 …// CHECK: diagnostics.modulemap:[[@LINE+1]]:25: error: expected integer literal as value for heade…
32 // CHECK: diagnostics.modulemap:[[@LINE+1]]:8: error: no module named 'unknown' found, parent modul…
[all …]
H A Dserialized-diags.m11 …h=%t/ModuleCache -I %S/Inputs/ModuleDiags -fsyntax-only %s --serialize-diagnostics %t.diag > /dev/…
12 // RUN: c-index-test -read-diagnostics %t.diag > %t.out 2>&1
18 // CHECK: Number of diagnostics: 2
21 …he -I %S/Inputs/ModuleDiags -fsyntax-only -DWITH_ERRORS %s --serialize-diagnostics %t.diag_errors …
22 // RUN: c-index-test -read-diagnostics %t.diag_errors > %t.out_errors 2>&1
31 // CHECK-WITH-ERRORS: Number of diagnostics: 3
H A Dmerge-concepts.cppm67 // expected-no-diagnostics
76 // expected-no-diagnostics
85 // expected-no-diagnostics
94 // expected-no-diagnostics
104 // expected-no-diagnostics
146 // expected-no-diagnostics
155 // expected-no-diagnostics
170 // expected-no-diagnostics
179 // expected-no-diagnostics
/llvm-project-15.0.7/lld/test/MachO/
H A Dcolor-diagnostics.test4 # RUN: not %lld --color-diagnostics /nosuchfile 2>&1 \
6 # RUN: not %lld --color-diagnostics=always /nosuchfile 2>&1 \
11 # RUN: not %lld --color-diagnostics=foobar 2>&1 | FileCheck -check-prefix=ERR %s
12 # ERR: unknown option: --color-diagnostics=foobar
15 # RUN: not %lld --color-diagnostics=never /nosuchfile 2>&1 \
17 # RUN: not %lld --color-diagnostics=always --no-color-diagnostics \
/llvm-project-15.0.7/lld/test/ELF/
H A Dcolor-diagnostics.test4 # RUN: not ld.lld -xyz --color-diagnostics /nosuchfile 2>&1 \
6 # RUN: not ld.lld -xyz --color-diagnostics=always /nosuchfile 2>&1 \
12 # RUN: not ld.lld --color-diagnostics=foobar 2>&1 | FileCheck -check-prefix=ERR %s
13 # ERR: unknown option: --color-diagnostics=foobar
16 # RUN: not ld.lld --color-diagnostics=never /nosuchfile 2>&1 \
18 # RUN: not ld.lld --color-diagnostics=always --no-color-diagnostics \
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/lldb/source/Expression/
H A DUtilityFunction.cpp81 DiagnosticManager diagnostics; in MakeFunctionCaller() local
84 m_caller_up->CompileFunction(thread_to_use_sp, diagnostics); in MakeFunctionCaller()
88 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller()
93 diagnostics.Clear(); in MakeFunctionCaller()
96 if (!m_caller_up->WriteFunctionWrapper(exe_ctx, diagnostics)) { in MakeFunctionCaller()
99 m_function_name.c_str(), diagnostics.GetString().c_str()); in MakeFunctionCaller()
/llvm-project-15.0.7/lld/test/COFF/
H A Dcolor-diagnostics.test4 # RUN: not lld-link -xyz --color-diagnostics /nosuchfile 2>&1 \
6 # RUN: not lld-link -xyz --color-diagnostics=always /nosuchfile 2>&1 \
13 # RUN: not lld-link -color-diagnostics=never /nosuchfile 2>&1 \
15 # RUN: not lld-link -color-diagnostics=always -no-color-diagnostics \
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/
H A DTransformInterfaces.h74 if (!diagnostics.empty()) { in checkAndReport()
75 for (auto &&diagnostic : diagnostics) { in checkAndReport()
79 diagnostics.clear(); in checkAndReport()
102 for (auto &diagnostic : diagnostics) { in getMessage()
121 if (!diagnostics.empty()) { in silence()
122 diagnostics.clear(); in silence()
132 return std::move(diagnostics); in takeDiagnostics()
154 return diagnostics.back().attachNote(loc);
159 : diagnostics(), result(failure()) { in DiagnosedSilenceableFailure()
163 : diagnostics(std::move(diagnostics)), result(failure()) {} in DiagnosedSilenceableFailure()
[all …]
/llvm-project-15.0.7/flang/docs/
H A DReleaseNotes.md34 * Refined how `-f{no-}color-diagnostics` is treated to better align with Clang.
35 In particular, both `-fcolor-diagnostics` and `-fno-color-diagnostics` are
36 now available in `flang-new` (the diagnostics are formatted by default). In
37 the frontend driver, `flang-new -fc1`, only `-fcolor-diagnostics` is
38 available (by default, the diagnostics are not formatted). Note that this
39 will only affect the diagnostics printed by driver (scanning, parsing and
40 semantic diagnostics are not affected).
/llvm-project-15.0.7/flang/include/flang/Frontend/
H A DCompilerInstance.h65 llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> diagnostics; variable
189 bool hasDiagnostics() const { return diagnostics != nullptr; } in hasDiagnostics()
193 assert(diagnostics && "Compiler instance has no diagnostics!"); in getDiagnostics()
194 return *diagnostics; in getDiagnostics()
198 assert(diagnostics && diagnostics->getClient() && in getDiagnosticClient()
200 return *diagnostics->getClient(); in getDiagnosticClient()
/llvm-project-15.0.7/llvm/test/MC/AArch64/
H A Dinst-directive-diagnostic.s5 .global diagnostics
6 .type diagnostics,%function
7 diagnostics: label
/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenServer.cpp243 std::vector<lsp::Diagnostic> &diagnostics);
252 std::vector<lsp::Diagnostic> &diagnostics);
280 std::vector<lsp::Diagnostic> &diagnostics);
308 std::vector<lsp::Diagnostic> &diagnostics) in TableGenTextFile() argument
318 initialize(uri, version, diagnostics); in TableGenTextFile()
331 initialize(uri, newVersion, diagnostics); in update()
354 std::vector<lsp::Diagnostic> &diagnostics; in initialize() member
356 } handlerContext{diagnostics, uri}; in initialize()
363 ctx->diagnostics.push_back(*lspDiag); in initialize()
465 uri, contents, version, additionalIncludeDirs, diagnostics); in addDocument()
[all …]
/llvm-project-15.0.7/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] = []
345 for diagnostic in diagnostics:
366 diags_old = get_grouped_diagnostics(results_old.diagnostics)
475 for diagnostic in report.diagnostics:
609 total_reports = len(results_new.diagnostics)
621 return found_diffs, len(results_old.diagnostics), \
[all …]
/llvm-project-15.0.7/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
192 diagnostics.Clear(); in SetupGetItemInfoFunction()
200 exe_ctx, args_addr, get_item_info_arglist, diagnostics)) { in SetupGetItemInfoFunction()
203 diagnostics.Dump(log); in SetupGetItemInfoFunction()
318 DiagnosticManager diagnostics; in GetItemInfo() local
352 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()
/llvm-project-15.0.7/mlir/test/Dialect/EmitC/
H A Dattrs.mlir1 // RUN: mlir-opt -verify-diagnostics %s | FileCheck %s
3 // RUN: mlir-opt -verify-diagnostics %s | mlir-opt -verify-diagnostics | FileCheck %s
/llvm-project-15.0.7/clang/test/Misc/
H A Dserialized-diags.m14 // RUN: not %clang -Wall -fsyntax-only %s --serialize-diagnostics %t.diag > /dev/null 2>&1
15 // RUN: c-index-test -read-diagnostics %t.diag > %t 2>&1
18 // This test checks that serialized diagnostics handle notes with no source location.
30 // CHECK: Number of diagnostics: 2
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DClangdLSPServerTests.cpp126 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
131 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
137 EXPECT_THAT(Client.diagnostics("foo.cpp"), llvm::ValueIs(testing::IsEmpty())); in TEST_F()
146 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
155 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
164 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
222 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
227 EXPECT_THAT(Client.diagnostics("bar.cpp"), in TEST_F()
386 EXPECT_THAT(Client.diagnostics("foo.cpp"), in TEST_F()
/llvm-project-15.0.7/mlir/docs/
H A DDiagnostics.md6 diagnostics infrastructure.
20 The `DiagnosticEngine` acts as the main interface for diagnostics in MLIR. It
42 // that all diagnostics are consumed(i.e. a success() result).
63 diagnostics in MLIR. [`operation`](LangRef.md/#operations) provides utility
64 methods for emitting diagnostics:
184 generated certain diagnostics. An example output is shown below:
300 certain diagnostics have been emitted to the context. To use this handler,
301 annotate your source file with expected diagnostics in the form of:
343 any expected diagnostics weren't.
371 on a single thread. For diagnostics, this means that the ordering of the
[all …]

12345678910>>...33