/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-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/Frontend/ |
Warnings.cpp | 36 static void EmitUnknownDiagWarning(DiagnosticsEngine &Diags, 41 Diags.Report(isPositive? diag::warn_unknown_warning_option_suggest : 45 Diags.Report(isPositive? diag::warn_unknown_warning_option : 50 void clang::ProcessWarningOptions(DiagnosticsEngine &Diags, 53 Diags.setSuppressSystemWarnings(true); // Default to -Wno-system-headers 54 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); 55 Diags.setShowOverloads(Opts.getShowOverloads()); 57 Diags.setElideType(Opts.ElideType); 58 Diags.setPrintTemplateTree(Opts.ShowTemplateTree); 59 Diags.setShowColors(Opts.ShowColors) [all...] |
CreateInvocationFromCommandLine.cpp | 34 IntrusiveRefCntPtr<DiagnosticsEngine> Diags) { 35 if (!Diags.getPtr()) { 38 Diags = CompilerInstance::createDiagnostics(new DiagnosticOptions); 50 "a.out", *Diags); 70 Diags->Report(diag::err_fe_expected_compiler_job) << OS.str(); 76 Diags->Report(diag::err_fe_expected_clang_command); 86 *Diags))
|
TextDiagnosticBuffer.cpp | 64 void TextDiagnosticBuffer::FlushDiagnostics(DiagnosticsEngine &Diags) const { 68 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Error, 71 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Warning, 74 Diags.Report(Diags.getCustomDiagID(DiagnosticsEngine::Note,
|
VerifyDiagnosticConsumer.cpp | 31 : Diags(_Diags), 32 PrimaryClient(Diags.getClient()), OwnsPrimaryClient(Diags.ownsClient()), 36 Diags.takeClient(); 37 if (Diags.hasSourceManager()) 38 setSourceManager(Diags.getSourceManager()); 46 Diags.takeClient(); 288 DiagnosticsEngine &Diags = PP ? PP->getDiagnostics() : SM.getDiagnostics(); 313 Diags.Report(Pos, diag::err_verify_invalid_no_diags) 323 Diags.Report(Pos, diag::err_verify_invalid_no_diags [all...] |
CompilerInvocation.cpp | 68 DiagnosticsEngine &Diags) { 86 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags); 132 DiagnosticsEngine &Diags) { 143 Diags.Report(diag::err_drv_invalid_value) 159 Diags.Report(diag::err_drv_invalid_value) 175 Diags.Report(diag::err_drv_invalid_value) 191 Diags.Report(diag::err_drv_invalid_value) 207 Diags.Report(diag::err_drv_invalid_value) 230 getLastArgIntValue(Args, OPT_analyzer_max_loop, 4, Diags); 234 Opts.InlineMaxStackDepth, Diags); [all...] |
/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/lib/Rewrite/Frontend/ |
FixItRewriter.cpp | 30 FixItRewriter::FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, 33 : Diags(Diags), 39 OwnsClient = Diags.ownsClient(); 40 Client = Diags.takeClient(); 41 Diags.setClient(this); 45 Diags.takeClient(); 46 Diags.setClient(Client, OwnsClient); 98 Diags.Report(clang::diag::err_fe_unable_to_open_output) 192 Diags.takeClient() [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/StaticAnalyzer/Frontend/ |
CheckerRegistration.cpp | 38 static void warnIncompatible(DiagnosticsEngine *diags, StringRef pluginPath, 43 DiagnosticsEngine *diags = 0); 49 DiagnosticsEngine *diags) { 61 warnIncompatible(diags, *i, pluginAPIVersion); 87 void ClangCheckerRegistry::warnIncompatible(DiagnosticsEngine *diags, 90 if (!diags) 95 diags->Report(diag::warn_incompatible_analyzer_plugin_api) 97 diags->Report(diag::note_incompatible_analyzer_plugin_api) 106 DiagnosticsEngine &diags) { 116 ClangCheckerRegistry allCheckers(plugins, &diags); [all...] |
/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(); 178 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( 183 FileMgr, *Diags); 219 IntrusiveRefCntPtr<DiagnosticsEngine> Diags( [all...] |
/external/clang/lib/CodeGen/ |
ModuleBuilder.cpp | 32 DiagnosticsEngine &Diags; 40 CodeGeneratorImpl(DiagnosticsEngine &diags, const std::string& ModuleName, 42 : Diags(diags), CodeGenOpts(CGO), 62 Diags)); 104 if (Diags.hasErrorOccurred()) { 114 if (Diags.hasErrorOccurred()) 121 if (Diags.hasErrorOccurred()) 144 CodeGenerator *clang::CreateLLVMCodeGen(DiagnosticsEngine &Diags, 149 return new CodeGeneratorImpl(Diags, ModuleName, CGO, C) [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
AnalysisManager.cpp | 17 AnalysisManager::AnalysisManager(ASTContext &ctx, DiagnosticsEngine &diags, 31 Diags(diags),
|
TextPathDiagnostics.cpp | 34 void FlushDiagnosticsImpl(std::vector<const PathDiagnostic *> &Diags, 57 std::vector<const PathDiagnostic *> &Diags, 59 for (std::vector<const PathDiagnostic *>::iterator it = Diags.begin(), 60 et = Diags.end(); it != et; ++it) {
|
/external/clang/test/Analysis/ |
html-diags-multifile.c | 9 #include "html-diags-multifile.h"
|
/external/clang/tools/driver/ |
cc1as_main.cpp | 141 const char **ArgEnd, DiagnosticsEngine &Diags); 149 DiagnosticsEngine &Diags) { 161 Diags.Report(diag::err_drv_missing_argument) 169 Diags.Report(diag::err_drv_unknown_argument) << (*it) ->getAsString(*Args); 203 Diags.Report(diag::err_drv_unknown_argument) << A->getAsString(*Args); 218 Diags.Report(diag::err_drv_invalid_value) 229 getLastArgIntValue(*Args.get(), OPT_output_asm_variant, 0, Diags); 241 DiagnosticsEngine &Diags, 256 Diags.Report(diag::err_fe_unable_to_open_output) 265 DiagnosticsEngine &Diags) { [all...] |
/external/clang/lib/AST/ |
MicrosoftMangle.cpp | 146 DiagnosticsEngine &Diags) : MangleContext(Context, Diags) { } 250 DiagnosticsEngine &Diags = Context.getDiags(); 251 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 253 Diags.Report(D->getLocation(), DiagID) 546 DiagnosticsEngine Diags = Context.getDiags(); 547 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error, 549 Diags.Report(ND->getLocation(), DiagID); 572 DiagnosticsEngine Diags = Context.getDiags(); 573 unsigned DiagID = Diags.getCustomDiagID(DiagnosticsEngine::Error [all...] |
/external/clang/include/clang/AST/ |
Mangle.h | 70 DiagnosticsEngine &Diags; 77 DiagnosticsEngine &Diags) 78 : Context(Context), Diags(Diags) { } 84 DiagnosticsEngine &getDiags() const { return Diags; } 161 DiagnosticsEngine &Diags); 163 DiagnosticsEngine &Diags);
|
/external/clang/lib/Lex/ |
ModuleMap.cpp | 62 Diags->Report(Id[0].second, diag::err_mmap_missing_module_unqualified) 73 Diags->Report(Id[I].second, diag::err_mmap_missing_module_qualified) 93 Diags = IntrusiveRefCntPtr<DiagnosticsEngine>( 95 Diags->setClient(new ForwardingDiagnosticConsumer(DC), 97 SourceMgr = new SourceManager(*Diags, FileMgr); 782 DiagnosticsEngine &Diags; 833 DiagnosticsEngine &Diags, 838 : L(L), SourceMgr(SourceMgr), Target(Target), Diags(Diags), Map(Map), 912 Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl) [all...] |
/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 | 67 void ProcessWarningOptions(DiagnosticsEngine &Diags, 109 IntrusiveRefCntPtr<DiagnosticsEngine> Diags = 112 /// Return the value of the last argument as an integer, or a default. If Diags 116 DiagnosticsEngine *Diags = 0); 120 DiagnosticsEngine &Diags) { 121 return getLastArgIntValue(Args, Id, Default, &Diags);
|