Home
last modified time | relevance | path

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

12345678910>>...17

/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/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/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'">;
DDiagnostic.td10 // This file defines the TableGen core definitions for the diagnostics
41 // diagnostics to specify a category.
63 // All diagnostics emitted by the compiler are an indirect subclass of this.
/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/swiftshader/src/OpenGL/compiler/preprocessor/
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 …]
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()
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/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/annotation-tools/annotation-file-utilities/src/annotator/
DSource.java26 private DiagnosticCollector<JavaFileObject> diagnostics; field in Source
56 diagnostics = new DiagnosticCollector<JavaFileObject>(); in Source()
59 this.fileManager = compiler.getStandardFileManager(diagnostics, null, null); in Source()
78 compiler.getTask(null, fileManager, diagnostics, optsList, null, fileObjs); in Source()
120 List<Diagnostic<? extends JavaFileObject>> errors = diagnostics.getDiagnostics(); in parse()
121 if (!diagnostics.getDiagnostics().isEmpty()) { in parse()
/external/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/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/
DMakefile174 clean-diagnostics:
176 .PHONY: clean-diagnostics
178 all-local:: clean-diagnostics
212 $(LLVM_SRC_ROOT)/utils/show-diagnostics \
/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/llvm/tools/llvm-config/
DBuildVariables.inc.in22 …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…
/external/llvm/docs/HistoricalNotes/
D2007-OriginalClangReadme.txt97 - To make diagnostics more gcc-like: -fno-caret-diagnostics -fno-show-column
134 * All diagnostics have column numbers, includes 'caret diagnostics', and they
136 * Full diagnostic customization by client (can format diagnostics however they
/external/swiftshader/third_party/LLVM/docs/HistoricalNotes/
D2007-OriginalClangReadme.txt97 - To make diagnostics more gcc-like: -fno-caret-diagnostics -fno-show-column
134 * All diagnostics have column numbers, includes 'caret diagnostics', and they
136 * Full diagnostic customization by client (can format diagnostics however they

12345678910>>...17