Home
last modified time | relevance | path

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

12345678910>>...18

/external/clang/bindings/python/tests/cindex/
Dtest_diagnostics.py8 assert len(tu.diagnostics) == 1
9 assert tu.diagnostics[0].severity == Diagnostic.Warning
10 assert tu.diagnostics[0].location.line == 1
11 assert tu.diagnostics[0].location.column == 11
12 assert (tu.diagnostics[0].spelling ==
18 assert len(tu.diagnostics) == 1
19 assert tu.diagnostics[0].severity == Diagnostic.Warning
20 assert tu.diagnostics[0].location.line == 2
21 assert tu.diagnostics[0].location.column == 7
22 assert 'incompatible' in tu.diagnostics[0].spelling
[all …]
/external/turbine/java/com/google/turbine/diag/
DTurbineError.java86 private final ImmutableList<TurbineDiagnostic> diagnostics; field in TurbineError
88 public TurbineError(ImmutableList<TurbineDiagnostic> diagnostics) { in TurbineError() argument
89 super(diagnostics.stream().map(d -> d.diagnostic()).collect(joining("\n"))); in TurbineError()
90 this.diagnostics = diagnostics; in TurbineError()
93 public ImmutableList<TurbineDiagnostic> diagnostics() { in diagnostics() method in TurbineError
94 return diagnostics; in diagnostics()
/external/clang/test/Modules/
Ddiagnostics.modulemap1 // RUN: not %clang_cc1 -fmodules -fmodules-cache-path=%t -fmodule-map-file=%S/Inputs/diagnostics-au…
3 // CHECK: In file included from {{.*}}diagnostics-aux.modulemap:3:
4 // CHECK: diagnostics-aux-2.modulemap:2:3: error: expected
6 // PR22299: Ensure we can produce diagnostics for duplicate modules from -fmodule-map-file=.
8 // CHECK: diagnostics.modulemap:[[@LINE+2]]:8: error: redefinition of module 'foo'
9 // CHECK: diagnostics-aux.modulemap:1:8: note: previously defined here
15 …// CHECK: diagnostics.modulemap:[[@LINE+1]]:22: error: use declarations are only allowed in top-le…
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
/external/v8/tools/clang/blink_gc_plugin/
DBadPatternFinder.cpp27 explicit UniquePtrGarbageCollectedMatcher(DiagnosticsReporter& diagnostics) in UniquePtrGarbageCollectedMatcher() argument
28 : diagnostics_(diagnostics) {} in UniquePtrGarbageCollectedMatcher()
57 explicit OptionalGarbageCollectedMatcher(DiagnosticsReporter& diagnostics) in OptionalGarbageCollectedMatcher() argument
58 : diagnostics_(diagnostics) {} in OptionalGarbageCollectedMatcher()
88 DiagnosticsReporter& diagnostics) { in FindBadPatterns() argument
91 UniquePtrGarbageCollectedMatcher unique_ptr_gc(diagnostics); in FindBadPatterns()
94 OptionalGarbageCollectedMatcher optional_gc(diagnostics); in FindBadPatterns()
/external/clang/test/CodeGenOpenCL/
Damdgpu-num-gpr-attr.cl6 __attribute__((amdgpu_num_vgpr(64))) // expected-no-diagnostics
11 __attribute__((amdgpu_num_sgpr(32))) // expected-no-diagnostics
16 __attribute__((amdgpu_num_vgpr(64), amdgpu_num_sgpr(32))) // expected-no-diagnostics
22 __attribute__((amdgpu_num_sgpr(20), amdgpu_num_vgpr(40))) // expected-no-diagnostics
27 __attribute__((amdgpu_num_vgpr(0))) // expected-no-diagnostics
31 __attribute__((amdgpu_num_sgpr(0))) // expected-no-diagnostics
35 __attribute__((amdgpu_num_vgpr(0), amdgpu_num_sgpr(0))) // expected-no-diagnostics
/external/clang/include/clang/Basic/
DDiagnosticOptions.def51 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 expected
70 /// diagnostics, indicated by markers in the
73 DiagnosticLevelMask::None) /// Ignore unexpected diagnostics of
91 /// Column limit for formatting message diagnostics, or 0 if unused.
DDiagnosticFrontendKinds.td1 //==--- DiagnosticFrontendKinds.td - frontend diagnostics -----------------===//
116 "unable to merge a subprocess's serialized diagnostics">,
119 "unable to open file %0 for serializing diagnostics (%1)">,
137 "'%0' diagnostics %select{expected|seen}1 but not %select{seen|expected}1: "
140 "%select{expected|'expected-no-diagnostics'}0 directive cannot follow "
141 "%select{'expected-no-diagnostics' directive|other expected directives}0">;
143 "no expected directives found: consider use of 'expected-no-diagnostics'">;
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DPreprocessor.cpp31 Diagnostics *diagnostics; member
40 : diagnostics(diag), in PreprocessorImpl()
48 Preprocessor::Preprocessor(Diagnostics *diagnostics, in Preprocessor() argument
52 mImpl = new PreprocessorImpl(diagnostics, directiveHandler, settings); in Preprocessor()
93 mImpl->diagnostics->report(Diagnostics::PP_INVALID_NUMBER, in lex()
97 mImpl->diagnostics->report(Diagnostics::PP_INVALID_CHARACTER, in lex()
DExpressionParser.y79 pp::Diagnostics* diagnostics; member
138 context->diagnostics->report(context->errorSettings.unexpectedIdentifier,
221 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT,
246 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT,
274 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO,
300 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO,
369 context->diagnostics->report(pp::Diagnostics::PP_INTEGER_OVERFLOW,
431 context->diagnostics->report(pp::Diagnostics::PP_INVALID_EXPRESSION, in yyerror()
438 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser() argument
440 mDiagnostics(diagnostics) in ExpressionParser()
[all …]
DTokenizer.l298 yyextra->diagnostics->report(pp::Diagnostics::PP_TOKENIZER_ERROR,
304 yyextra->diagnostics->report(pp::Diagnostics::PP_EOF_IN_COMMENT,
315 Tokenizer::Tokenizer(Diagnostics *diagnostics) : mHandle(nullptr), mMaxTokenSize(1024)
317 mContext.diagnostics = diagnostics;
357 mContext.diagnostics->report(Diagnostics::PP_TOKENIZER_ERROR, token->location, token->text);
367 mContext.diagnostics->report(Diagnostics::PP_TOKEN_TOO_LONG,
DExpressionParser.cpp129 pp::Diagnostics* diagnostics; member
1357 context->diagnostics->report(context->errorSettings.unexpectedIdentifier, in yyparse()
1512 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT, in yyparse()
1542 context->diagnostics->report(pp::Diagnostics::PP_UNDEFINED_SHIFT, in yyparse()
1585 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO, in yyparse()
1616 context->diagnostics->report(pp::Diagnostics::PP_DIVISION_BY_ZERO, in yyparse()
1946 context->diagnostics->report(pp::Diagnostics::PP_INTEGER_OVERFLOW, in yylex()
2008 context->diagnostics->report(pp::Diagnostics::PP_INVALID_EXPRESSION, in yyerror()
2015 ExpressionParser::ExpressionParser(Lexer *lexer, Diagnostics *diagnostics) in ExpressionParser() argument
2017 mDiagnostics(diagnostics) in ExpressionParser()
[all …]
DTokenizer.h32 Diagnostics *diagnostics; member
44 Tokenizer(Diagnostics *diagnostics);
/external/clang/utils/analyzer/
DCmpRuns.py126 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)
303 return foundDiffs, len(resultsA.diagnostics), len(resultsB.diagnostics)
/external/v8/tools/clang/plugins/
DCheckIPCVisitor.cpp29 auto& diagnostics = compiler_.getDiagnostics(); in CheckIPCVisitor() local
30 error_write_param_bad_type_ = diagnostics.getCustomDiagID( in CheckIPCVisitor()
32 error_tuple_bad_type_ = diagnostics.getCustomDiagID( in CheckIPCVisitor()
34 error_write_param_bad_signature_ = diagnostics.getCustomDiagID( in CheckIPCVisitor()
36 note_see_here_ = diagnostics.getCustomDiagID( in CheckIPCVisitor()
272 DiagnosticsEngine& diagnostics = compiler_.getDiagnostics(); in ReportCheckError() local
281 diagnostics.Report(loc, error) << exit_type << via; in ReportCheckError()
284 diagnostics.Report(tdef->getDecl()->getLocation(), note_see_here_); in ReportCheckError()
DSuppressibleDiagnosticBuilder.h19 SuppressibleDiagnosticBuilder(clang::DiagnosticsEngine* diagnostics, in SuppressibleDiagnosticBuilder() argument
23 : DiagnosticBuilder(diagnostics->Report(loc, diagnostic_id)), in SuppressibleDiagnosticBuilder()
24 diagnostics_(diagnostics), in SuppressibleDiagnosticBuilder()
/external/llvm/test/MC/AArch64/
Dinst-directive-diagnostic.s5 .global diagnostics symbol
6 .type diagnostics,%function
7 diagnostics: label
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/AArch64/
Dinst-directive-diagnostic.s5 .global diagnostics symbol
6 .type diagnostics,%function
7 diagnostics: label
/external/clang/test/Misc/
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
/external/autotest/client/site_tests/desktopui_ConnectivityDiagnostics/
Dcontrol7 PURPOSE = "Basic sanity check of connectivity diagnostics in Chrome."
8 CRITERIA = "This test will fail if the connectivity diagnostics smoke tests fail."
15 This test logs in, connects to the connectivity diagnostics app, and asks it to
/external/google-fruit/extras/scripts/
Danalyze_template_instantiations_clang_diagnostics.py325 diagnostics = []
341 diagnostics.append(Diagnostic(diagnostic_kind, diagnostic_message))
346 if not diagnostics:
353diagnostics[-1].template_instantiation_trace.append(trace_element_future)
365 for diagnostic_index, diagnostic in enumerate(diagnostics):
367 …int('Constructing dep graph: iteration %s/%s' % (diagnostic_index, len(diagnostics)), file=sys.std…
/external/clang/test/ARCMT/
Dverify.m11 // CHECK: error: no expected directives found: consider use of 'expected-no-diagnostics'
12 // CHECK-NEXT: error: 'error' diagnostics seen but not expected:
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/ARM/
Deh-directive-fnstart-diagnostics.s4 @ Check the diagnostics for the mismatched .fnstart directives.
6 @ There should be some diagnostics when the previous .fnstart is not closed
/external/llvm/test/MC/ARM/
Deh-directive-fnstart-diagnostics.s4 @ Check the diagnostics for the mismatched .fnstart directives.
6 @ There should be some diagnostics when the previous .fnstart is not closed
/external/swiftshader/third_party/LLVM/
DMakefile174 clean-diagnostics:
176 .PHONY: clean-diagnostics
178 all-local:: clean-diagnostics
212 $(LLVM_SRC_ROOT)/utils/show-diagnostics \

12345678910>>...18