Searched refs:diagnostics (Results 1 – 25 of 319) sorted by relevance
12345678910>>...13
8 assert len(tu.diagnostics) == 19 assert tu.diagnostics[0].severity == Diagnostic.Warning10 assert tu.diagnostics[0].location.line == 111 assert tu.diagnostics[0].location.column == 1112 assert (tu.diagnostics[0].spelling ==18 assert len(tu.diagnostics) == 119 assert tu.diagnostics[0].severity == Diagnostic.Warning20 assert tu.diagnostics[0].location.line == 221 assert tu.diagnostics[0].location.column == 722 assert 'incompatible' in tu.diagnostics[0].spelling[all …]
6 __attribute__((amdgpu_num_vgpr(64))) // expected-no-diagnostics11 __attribute__((amdgpu_num_sgpr(32))) // expected-no-diagnostics16 __attribute__((amdgpu_num_vgpr(64), amdgpu_num_sgpr(32))) // expected-no-diagnostics22 __attribute__((amdgpu_num_sgpr(20), amdgpu_num_vgpr(40))) // expected-no-diagnostics27 __attribute__((amdgpu_num_vgpr(0))) // expected-no-diagnostics31 __attribute__((amdgpu_num_sgpr(0))) // expected-no-diagnostics35 __attribute__((amdgpu_num_vgpr(0), amdgpu_num_sgpr(0))) // expected-no-diagnostics
1 // RUN: not %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodule-map-file=%S/Inputs/diagnostics-au…3 // PR22299: Ensure we can produce diagnostics for duplicate modules from -fmodule-map-file=.5 // CHECK: diagnostics.modulemap:[[@LINE+2]]:8: error: redefinition of module 'foo'6 // CHECK: diagnostics-aux.modulemap:1:8: note: previously defined here12 …// CHECK: diagnostics.modulemap:[[@LINE+1]]:22: error: use declarations are only allowed in top-le…
11 …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>&118 // CHECK: Number of diagnostics: 221 …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>&131 // CHECK-WITH-ERRORS: Number of diagnostics: 3
51 DIAGOPT(ShowColumn, 1, 1) /// Show column number on diagnostics.53 DIAGOPT(ShowCarets, 1, 1) /// Show carets in diagnostics.57 DIAGOPT(ShowPresumedLoc, 1, 0) /// Show presumed location for diagnostics.59 /// diagnostics.64 ENUM_DIAGOPT(Format, TextDiagnosticFormat, 2, Clang) /// Format for diagnostics: 66 DIAGOPT(ShowColors, 1, 0) /// Show diagnostics with ANSI color sequences.69 DIAGOPT(VerifyDiagnostics, 1, 0) /// Check that diagnostics match the expected70 /// diagnostics, indicated by markers in the88 /// Column limit for formatting message diagnostics, or 0 if unused.
1 //==--- DiagnosticFrontendKinds.td - frontend diagnostics -----------------===//103 "unable to merge a subprocess's serialized diagnostics">,106 "unable to open file %0 for serializing diagnostics (%1)">,124 "'%0' diagnostics %select{expected|seen}1 but not %select{seen|expected}1: "127 "%select{expected|'expected-no-diagnostics'}0 directive cannot follow "128 "%select{'expected-no-diagnostics' directive|other expected directives}0">;130 "no expected directives found: consider use of 'expected-no-diagnostics'">;
10 // This file defines the TableGen core definitions for the diagnostics41 // diagnostics to specify a category.63 // All diagnostics emitted by the compiler are an indirect subclass of this.
126 self.diagnostics = []135 self.diagnostics = []171 diagnostics = [AnalysisDiagnostic(d, report, h) 177 report.diagnostics.extend(diagnostics)179 self.diagnostics.extend(diagnostics)225 eltsA = list(A.diagnostics)226 eltsB = list(B.diagnostics)296 TotalReports = len(resultsB.diagnostics)
5 .global diagnostics symbol6 .type diagnostics,%function7 diagnostics: label
14 // RUN: not %clang -Wall -fsyntax-only %s --serialize-diagnostics %t.diag > /dev/null 2>&115 // RUN: c-index-test -read-diagnostics %t.diag > %t 2>&118 // This test checks that serialized diagnostics handle notes with no source location.30 // CHECK: Number of diagnostics: 2
11 // CHECK: error: no expected directives found: consider use of 'expected-no-diagnostics'12 // CHECK-NEXT: error: 'error' diagnostics seen but not expected:
4 @ Check the diagnostics for the mismatched .fnstart directives.6 @ There should be some diagnostics when the previous .fnstart is not closed
22 …initializers -pedantic -Wno-long-long -Wcovered-switch-default -fcolor-diagnostics -ffunction-sect…24 …ng-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++11 -fcolor-diagnostics -ffunction-sect…
184 clean-diagnostics:186 .PHONY: clean-diagnostics188 all-local:: clean-diagnostics229 $(LLVM_SRC_ROOT)/utils/clang-parse-diagnostics-file -a \
2 // expected-no-diagnostics
97 - To make diagnostics more gcc-like: -fno-caret-diagnostics -fno-show-column134 * All diagnostics have column numbers, includes 'caret diagnostics', and they136 * Full diagnostic customization by client (can format diagnostics however they
146 List<Diagnostic<? extends JavaFileObject>> diagnostics, Exception cause) in throwExceptionWithLotsOfDiagnosticInfo() argument152 for (Diagnostic<? extends JavaFileObject> diagnostic : diagnostics) { in throwExceptionWithLotsOfDiagnosticInfo()