/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 | 668 DiagnosticOptions *DiagOpts) 669 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} 687 if (DiagOpts->ShowColors) 690 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, 691 DiagOpts->CLFallbackMode); 695 DiagOpts->MessageLength, DiagOpts->ShowColors); 792 if (!DiagOpts->ShowLocation) 795 if (DiagOpts->ShowColors) 799 switch (DiagOpts->getFormat()) [all...] |
DiagnosticRenderer.cpp | 69 DiagnosticOptions *DiagOpts) 70 : LangOpts(LangOpts), DiagOpts(DiagOpts), LastLevel() {} 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 222 if (!DiagOpts->ShowNoteIncludeStack && Level == DiagnosticsEngine::Note) 242 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 285 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); 307 DiagOpts->ShowPresumedLoc), 427 if (MacroDepth > DiagOpts->MacroBacktraceLimit && 428 DiagOpts->MacroBacktraceLimit != 0) [all...] |
FrontendActions.cpp | 463 ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, 466 #define DIAGOPT(Name, Bits, Default) DUMP_BOOLEAN(DiagOpts->Name, #Name); 468 Out.indent(4) << #Name << ": " << DiagOpts->get##Name() << "\n"; 470 Out.indent(4) << #Name << ": " << DiagOpts->Name << "\n"; 474 for (const std::string &Warning : DiagOpts->Warnings) {
|
LogDiagnosticPrinter.cpp | 24 : OS(os), LangOpts(nullptr), DiagOpts(diags),
|
SerializedDiagnosticPrinter.cpp | 56 DiagnosticOptions *DiagOpts) 57 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} 191 : DiagOpts(diags), Stream(Buffer), OS(os), EmittedAnyDiagBlocks(false) { } 194 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 559 SDiagsRenderer Renderer(*this, *LangOpts, &*State->DiagOpts);
|
CompilerInstance.cpp | 130 static void SetUpDiagnosticLog(DiagnosticOptions *DiagOpts, 136 if (DiagOpts->DiagnosticLogFile != "-") { 139 DiagOpts->DiagnosticLogFile.c_str(), ErrorInfo, 143 << DiagOpts->DiagnosticLogFile << ErrorInfo; 153 LogDiagnosticPrinter *Logger = new LogDiagnosticPrinter(*OS, DiagOpts, 160 static void SetupSerializedDiagnostics(DiagnosticOptions *DiagOpts, 175 clang::serialized_diags::create(OS.release(), DiagOpts); [all...] |
/external/clang/lib/Index/ |
SimpleFormatContext.h | 38 : DiagOpts(new DiagnosticOptions()), 40 DiagOpts.get())), 66 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/include/clang/Frontend/ |
TextDiagnosticPrinter.h | 30 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
DiagnosticRenderer.h | 49 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 71 DiagnosticOptions *DiagOpts); 156 DiagnosticOptions *DiagOpts) 157 : DiagnosticRenderer(LangOpts, DiagOpts) {}
|
LogDiagnosticPrinter.h | 48 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), 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/tools/driver/ |
cc1_main.cpp | 84 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 86 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagsBuffer);
|
driver.cpp | 346 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions; 355 (void) ParseDiagnosticArgs(*DiagOpts, *Args); 360 = new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 371 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); 372 ProcessWarningOptions(Diags, *DiagOpts, /*ReportDiags=*/false);
|
cc1as_main.cpp | 436 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 438 = new TextDiagnosticPrinter(errs(), &*DiagOpts); 441 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 72 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 74 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 77 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 110 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 113 new DiagnosticsEngine(DiagID, &*DiagOpts, DiagClient)); 152 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 154 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); 157 new DiagnosticsEngine(DiagID, &*DiagOpts, &*DiagClient));
|
/external/clang/unittests/Lex/ |
PPCallbacksTest.cpp | 120 DiagOpts(new DiagnosticOptions()), 121 Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()), 130 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts;
|
/external/clang/lib/Tooling/ |
Refactoring.cpp | 286 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 287 TextDiagnosticPrinter DiagnosticPrinter(llvm::errs(), &*DiagOpts); 290 &*DiagOpts, &DiagnosticPrinter, false);
|
Tooling.cpp | 204 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 206 llvm::errs(), &*DiagOpts); 208 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts,
|
CompilationDatabase.cpp | 209 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); 213 &*DiagOpts, &DiagClient, false);
|
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 92 DiagnosticOptions *DiagOpts, 94 : DiagnosticNoteRenderer(LangOpts, DiagOpts),
|
/external/clang/include/clang/Basic/ |
Diagnostic.h | 188 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; 348 DiagnosticOptions *DiagOpts, 358 DiagnosticOptions &getDiagnosticOptions() const { return *DiagOpts; } [all...] |
/external/clang/lib/Basic/ |
Diagnostic.cpp | 39 DiagnosticOptions *DiagOpts, 41 : Diags(diags), DiagOpts(DiagOpts), Client(client), [all...] |