/external/clang/lib/Frontend/ |
TextDiagnosticPrinter.cpp | 30 : OS(os), DiagOpts(diags), 42 TextDiag.reset(new TextDiagnostic(OS, LO, &*DiagOpts)); 57 const DiagnosticOptions &DiagOpts) { 59 if (DiagOpts.ShowOptionNames) { 94 if (DiagOpts.ShowCategories) { 100 if (DiagOpts.ShowCategories == 1) 103 assert(DiagOpts.ShowCategories == 2 && "Invalid ShowCategories value"); 123 printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts); 139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, 140 DiagOpts->CLFallbackMode) [all...] |
TextDiagnostic.cpp | 669 DiagnosticOptions *DiagOpts) 670 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} 688 if (DiagOpts->ShowColors) 691 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, 692 DiagOpts->CLFallbackMode); 696 DiagOpts->MessageLength, DiagOpts->ShowColors); 793 if (!DiagOpts->ShowLocation) 796 if (DiagOpts->ShowColors) 800 switch (DiagOpts->getFormat()) [all...] |
DiagnosticRenderer.cpp | 69 DiagnosticOptions *DiagOpts) 70 : LangOpts(LangOpts), DiagOpts(DiagOpts), LastLevel() {} 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 220 if (!DiagOpts->ShowNoteIncludeStack && Level == DiagnosticsEngine::Note) 240 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 283 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 303 DiagOpts->ShowPresumedLoc), 596 unsigned MacroLimit = DiagOpts->MacroBacktraceLimit;
|
SerializedDiagnosticPrinter.cpp | 62 DiagnosticOptions *DiagOpts) 63 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} 258 : DiagOpts(Diags), Stream(Buffer), OutputFile(File.str()), 262 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 622 SDiagsRenderer Renderer(*this, *LangOpts, &*State->DiagOpts); 772 new TextDiagnosticPrinter(llvm::errs(), State->DiagOpts.get()); 774 IDs, State->DiagOpts.get(), Client); [all...] |
LogDiagnosticPrinter.cpp | 25 DiagOpts(diags) {}
|
FrontendActions.cpp | 514 bool ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, 517 #define DIAGOPT(Name, Bits, Default) DUMP_BOOLEAN(DiagOpts->Name, #Name); 519 Out.indent(4) << #Name << ": " << DiagOpts->get##Name() << "\n"; 521 Out.indent(4) << #Name << ": " << DiagOpts->Name << "\n"; 525 for (const std::string &Warning : DiagOpts->Warnings) 527 for (const std::string &Remark : DiagOpts->Remarks)
|
/external/clang/lib/Tooling/ |
Refactoring.cpp | 41 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 42 TextDiagnosticPrinter DiagnosticPrinter(llvm::errs(), &*DiagOpts); 45 &*DiagOpts, &DiagnosticPrinter, false);
|
CompilationDatabase.cpp | 209 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 213 &*DiagOpts, &DiagClient, false);
|
Tooling.cpp | 234 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 236 llvm::errs(), &*DiagOpts); 238 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts,
|
/external/clang/unittests/Driver/ |
ToolChainTest.cpp | 29 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 33 DiagnosticsEngine Diags(DiagID, &*DiagOpts, new TestDiagnosticConsumer); 82 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 86 DiagnosticsEngine Diags(DiagID, &*DiagOpts, new TestDiagnosticConsumer);
|
/external/clang/lib/Index/ |
SimpleFormatContext.h | 38 : DiagOpts(new DiagnosticOptions()), 40 DiagOpts.get())), 64 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/include/clang/Frontend/ |
TextDiagnosticPrinter.h | 30 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
DiagnosticRenderer.h | 49 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 71 DiagnosticOptions *DiagOpts); 158 DiagnosticOptions *DiagOpts) 159 : DiagnosticRenderer(LangOpts, DiagOpts) {}
|
LogDiagnosticPrinter.h | 55 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
TextDiagnostic.h | 41 DiagnosticOptions *DiagOpts);
|
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 38 : DiagOpts(new DiagnosticOptions()), 40 &*DiagOpts), 41 DiagnosticPrinter(llvm::outs(), &*DiagOpts), 114 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/tools/clang-fuzzer/ |
ClangFuzzer.cpp | 31 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 33 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts,
|
/external/clang/tools/driver/ |
cc1_main.cpp | 89 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 91 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagsBuffer);
|
driver.cpp | 264 auto *DiagOpts = new DiagnosticOptions; 272 (void)ParseDiagnosticArgs(*DiagOpts, Args); 273 return DiagOpts; 413 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = 417 = new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 422 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); 424 if (!DiagOpts->DiagnosticSerializationFile.empty()) { 426 clang::serialized_diags::create(DiagOpts->DiagnosticSerializationFile, 427 &*DiagOpts, /*MergeChildRecords=*/true); 432 ProcessWarningOptions(Diags, *DiagOpts, /*ReportDiags=*/false) [all...] |
/frameworks/compile/slang/ |
llvm-rs-cc.cpp | 232 llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> DiagOpts = 235 *DiagOpts, SavedStrings.getStringSaver())) { 255 clang::DiagnosticsEngine DiagEngine(DiagIDs, &*DiagOpts, &DiagsBuffer, false); 256 clang::ProcessWarningOptions(DiagEngine, *DiagOpts); 283 !Compiler->compile(IOFiles32, IOFiles32, DepFiles32, Opts, *DiagOpts); 297 !Compiler->compile(IOFiles64, IOFiles32, DepFiles64, Opts, *DiagOpts);
|
rs_cc_options.h | 143 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts,
|
rs_cc_options.cpp | 87 RSCCOptions &Opts, clang::DiagnosticOptions &DiagOpts, 129 DiagOpts.IgnoreWarnings = Args.hasArg(OPT_w); 130 DiagOpts.Warnings = Args.getAllArgValues(OPT_W); 134 DiagOpts.Warnings.push_back("no-gnu-empty-initializer");
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 83 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 85 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 88 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 109 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 111 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 114 new DiagnosticsEngine(DiagID, &*DiagOpts, DiagClient)); 154 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 156 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 159 new DiagnosticsEngine(DiagID, &*DiagOpts, &*DiagClient));
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 115 DiagID(new DiagnosticIDs()), DiagOpts(new DiagnosticOptions()), 116 Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()), 125 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|