HomeSort by relevance Sort by last modified time
    Searched full:diags (Results 1 - 25 of 202) sorted by null

1 2 3 4 5 6 7 8 9

  /external/clang/unittests/Basic/
DiagnosticTest.cpp 21 DiagnosticsEngine Diags(new DiagnosticIDs(),
24 Diags.setSuppressAllDiagnostics(true);
27 DiagnosticErrorTrap trap(Diags);
30 Diags.Report(diag::err_target_unknown_triple) << "unknown";
33 Diags.Report(diag::err_cannot_open_file) << "file" << "error";
37 Diags.Report(diag::warn_mt_message) << "warning";
43 EXPECT_FALSE(Diags.hasErrorOccurred());
44 EXPECT_FALSE(Diags.hasFatalErrorOccurred());
45 EXPECT_FALSE(Diags.hasUncompilableErrorOccurred());
46 EXPECT_FALSE(Diags.hasUnrecoverableErrorOccurred())
    [all...]
  /external/clang/test/Misc/
serialized-diags.c 26 #include "serialized-diags.h"
41 // CHECK: {{.*[/\\]}}serialized-diags.c:3:12: warning: variable 'voodoo' is uninitialized when used here [-Wuninitialized]
42 // CHECK: Range: {{.*[/\\]}}serialized-diags.c:3:12 {{.*[/\\]}}serialized-diags.c:3:18
43 // CHECK: +-{{.*[/\\]}}serialized-diags.c:2:13: note: initialize the variable 'voodoo' to silence this warning []
44 // CHECK: +-FIXIT: ({{.*[/\\]}}serialized-diags.c:2:13 - {{.*[/\\]}}serialized-diags.c:2:13): " = 0"
45 // CHECK: {{.*[/\\]}}serialized-diags.c:8:22: error: expected ';' after expression []
46 // CHECK: FIXIT: ({{.*[/\\]}}serialized-diags.c:8:22 - {{.*[/\\]}}serialized-diags.c:8:22): ";
    [all...]
serialized-diags-single-issue.c 13 // CHECK: {{.*}}serialized-diags-single-issue.c:3:12: warning: variable 'voodoo' is uninitialized when used here [-Wuninitialized] [Semantic Issue]
14 // CHECK: Range: {{.*}}serialized-diags-single-issue.c:3:12 {{.*}}serialized-diags-single-issue.c:3:18
15 // CHECK: +-{{.*}}serialized-diags-single-issue.c:2:13: note: initialize the variable 'voodoo' to silence this warning []
16 // CHECK: +-Range: {{.*}}serialized-diags-single-issue.c:2:13 {{.*}}serialized-diags-single-issue.c:2:13
17 // CHECK: +-FIXIT: ({{.*}}serialized-diags-single-issue.c:2:13 - {{.*}}serialized-diags-single-issue.c:2:13): " = 0"
24 // CHECK-MULT: {{.*}}serialized-diags-single-issue.c:3:12: warning: variable 'voodoo' is uninitialized when used here [-Wuninitialized]
25 // CHECK-MULT: Range: {{.*}}serialized-diags-single-issue.c:3:12 {{.*}}serialized-diags-single-issue.c:3:1
    [all...]
serialized-diags.m 20 // CHECK: {{.*[/\\]}}serialized-diags.m:8:4: error: use of undeclared identifier '_self'; did you mean 'self'? [] [Semantic Issue]
21 // CHECK: Range: {{.*[/\\]}}serialized-diags.m:8:4 {{.*[/\\]}}serialized-diags.m:8:9
23 // CHECK: FIXIT: ({{.*[/\\]}}serialized-diags.m:8:4 - {{.*[/\\]}}serialized-diags.m:8:9): "self"
26 // CHECK: {{.*[/\\]}}serialized-diags.m:1:12: warning: class 'Foo' defined without specifying a base class [-Wobjc-root-class] [Semantic Issue]
28 // CHECK: +-{{.*[/\\]}}serialized-diags.m:1:15: note: add a super class to fix this problem [] [Semantic Issue]
serialized-diags-stable.c 5 // RUN: c-index-test -read-diagnostics %S/Inputs/serialized-diags-stable.dia 2>&1 | FileCheck %s
8 // CHECK: serialized-diags-stable.c:[[@LINE+2]]:1: warning: control reaches end of non-void function [-Wreturn-type] [Semantic Issue]
12 // CHECK: serialized-diags-stable.c:[[@LINE+5]]:13: error: redefinition of 'bar' as different kind of symbol [] [Semantic Issue]
14 // CHECK-NEXT: +-{{.*}}serialized-diags-stable.c:[[@LINE+2]]:6: note: previous definition is here [] []
serialized-diags-no-category.c 10 // CHECK: {{.*[/\\]}}serialized-diags-no-category.c:1:2: error: foo []
  /external/clang/test/PCH/
source-manager-stack.c 5 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-show-note-include-stack -include %t.prefix.h %s 2> %t.diags.no_pch.txt
7 // RUN: not %clang_cc1 -fsyntax-only -fdiagnostics-show-note-include-stack -include-pch %t.prefix.pch %s 2> %t.diags.pch.txt
8 // RUN: diff %t.diags.no_pch.txt %t.diags.pch.txt
  /external/clang/lib/Basic/
Warnings.cpp 35 static void EmitUnknownDiagWarning(DiagnosticsEngine &Diags,
39 Diags.Report(diag::warn_unknown_diag_option)
44 void clang::ProcessWarningOptions(DiagnosticsEngine &Diags,
47 Diags.setSuppressSystemWarnings(true); // Default to -Wno-system-headers
48 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings);
49 Diags.setShowOverloads(Opts.getShowOverloads());
51 Diags.setElideType(Opts.ElideType);
52 Diags.setPrintTemplateTree(Opts.ShowTemplateTree);
53 Diags.setShowColors(Opts.ShowColors);
57 Diags.setErrorLimit(Opts.ErrorLimit)
    [all...]
  /external/clang/lib/Frontend/
TextDiagnosticBuffer.cpp 48 void TextDiagnosticBuffer::FlushDiagnostics(DiagnosticsEngine &Diags) const {
51 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Error, "%0"))
54 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Warning, "%0"))
57 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Remark, "%0"))
60 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Note, "%0"))
CompilerInvocation.cpp 79 DiagnosticsEngine &Diags) {
97 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags);
139 DiagnosticsEngine &Diags) {
150 Diags.Report(diag::err_drv_invalid_value)
166 Diags.Report(diag::err_drv_invalid_value)
182 Diags.Report(diag::err_drv_invalid_value)
198 Diags.Report(diag::err_drv_invalid_value)
214 Diags.Report(diag::err_drv_invalid_value)
239 getLastArgIntValue(Args, OPT_analyzer_max_loop, 4, Diags);
243 Opts.InlineMaxStackDepth, Diags);
    [all...]
VerifyDiagnosticConsumer.cpp 31 : Diags(Diags_),
32 PrimaryClient(Diags.getClient()), PrimaryClientOwner(Diags.takeClient()),
37 if (Diags.hasSourceManager())
38 setSourceManager(Diags.getSourceManager());
46 Diags.takeClient().release();
313 DiagnosticsEngine &Diags = PP ? PP->getDiagnostics() : SM.getDiagnostics();
340 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
350 Diags.Report(Pos, diag::err_verify_invalid_no_diags)
406 Diags.Report(Pos.getLocWithOffset(PH.C-PH.Begin)
    [all...]
CreateInvocationFromCommandLine.cpp 35 IntrusiveRefCntPtr<DiagnosticsEngine> Diags) {
36 if (!Diags.get()) {
39 Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions);
49 *Diags);
85 Diags->Report(diag::err_fe_expected_compiler_job) << OS.str();
91 Diags->Report(diag::err_fe_expected_clang_command);
101 *Diags))
  /external/clang/lib/StaticAnalyzer/Frontend/
CheckerRegistration.cpp 38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath,
43 DiagnosticsEngine *diags = nullptr);
49 DiagnosticsEngine *diags) {
58 diags->Report(diag::err_fe_unable_to_load_plugin) << *i << err;
66 warnIncompatible(diags, *i, pluginAPIVersion);
92 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags,
95 if (!diags)
100 diags->Report(diag::warn_incompatible_analyzer_plugin_api)
102 diags->Report(diag::note_incompatible_analyzer_plugin_api)
110 DiagnosticsEngine &diags) {
    [all...]
  /external/clang/lib/CodeGen/
ModuleBuilder.cpp 32 DiagnosticsEngine &Diags;
60 CodeGeneratorImpl(DiagnosticsEngine &diags, const std::string &ModuleName,
65 : Diags(diags), Ctx(nullptr), HeaderSearchOpts(HSO),
73 Diags.hasErrorOccurred());
104 *M, Diags, CoverageInfo));
111 if (Diags.hasErrorOccurred())
118 if (Diags.hasErrorOccurred())
144 if (Diags.hasErrorOccurred())
171 if (Diags.hasErrorOccurred()
    [all...]
  /external/clang/test/Modules/
serialized-diags.m 16 // CHECK: serialized-diags.m:1:9: note: while building module 'HasWarnings' imported from
17 // CHECK: serialized-diags.m:8:9: warning: incompatible pointer types initializing 'double *'
26 // CHECK-WITH-ERRORS: serialized-diags.m:1:9: note: while building module 'HasWarnings'
28 // CHECK-WITH-ERRORS: serialized-diags.m:4:9: note: while building module 'HasErrors'
30 // CHECK-WITH-ERRORS: serialized-diags.m:4:9: fatal: could not build module 'HasErrors'
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 79 void CapturedDiagList::reportDiagnostics(DiagnosticsEngine &Diags) const {
81 Diags.Report(*I);
95 DiagnosticsEngine &Diags;
100 CaptureDiagnosticConsumer(DiagnosticsEngine &diags,
103 : Diags(diags), DiagClient(client), CapturedDiags(capturedDiags),
141 Diags.setLastDiagnosticIgnored();
182 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
186 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags);
223 IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
    [all...]
PlistReporter.cpp 36 ArrayRef<StoredDiagnostic> diags,
47 I = diags.begin(), E = diags.end(); I != E; ++I) {
83 DI = diags.begin(), DE = diags.end(); DI != DE; ++DI) {
  /external/clang/lib/Frontend/Rewrite/
FixItRewriter.cpp 30 FixItRewriter::FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr,
33 : Diags(Diags),
39 Owner = Diags.takeClient();
40 Client = Diags.getClient();
41 Diags.setClient(this, false);
45 Diags.setClient(Client, Owner.release() != nullptr);
103 Diags.Report(clang::diag::err_fe_unable_to_open_output) << Filename
197 Diags.setClient(Client, false);
198 Diags.Clear()
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
AnalysisManager.cpp 17 AnalysisManager::AnalysisManager(ASTContext &ctx, DiagnosticsEngine &diags,
34 Diags(diags),
  /external/clang/test/Analysis/
html-diags-multifile.c 9 #include "html-diags-multifile.h"
  /external/clang/include/clang/Basic/
CMakeLists.txt 3 -gen-clang-diags-defs -clang-component=${component}
22 clang_tablegen(DiagnosticIndexName.inc -gen-clang-diags-index-name
  /external/clang/tools/clang-fuzzer/
ClangFuzzer.cpp 30 IgnoringDiagConsumer Diags;
34 &Diags, false);
45 &Diags);
  /external/clang/utils/
find-unused-diagnostics.sh 14 # Print all diags that occur in the .td files but not in the source.
  /external/clang/include/clang/Frontend/
Utils.h 184 IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
187 /// Return the value of the last argument as an integer, or a default. If Diags
191 DiagnosticsEngine *Diags = nullptr);
195 DiagnosticsEngine &Diags) {
196 return getLastArgIntValue(Args, Id, Default, &Diags);
201 DiagnosticsEngine *Diags = nullptr);
206 DiagnosticsEngine &Diags) {
207 return getLastArgUInt64Value(Args, Id, Default, &Diags);
  /external/clang/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 36 Diags(DiagID, new DiagnosticOptions, new IgnoringDiagConsumer()),
37 SourceMgr(Diags, FileMgr),
41 Target = TargetInfo::CreateTargetInfo(Diags, TargetOpts);
47 DiagnosticsEngine Diags;
96 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts,
98 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,

Completed in 1037 milliseconds

1 2 3 4 5 6 7 8 9