/external/clang/lib/Frontend/ |
D | TextDiagnosticPrinter.cpp | 30 : OS(os), DiagOpts(diags), in TextDiagnosticPrinter() 42 TextDiag.reset(new TextDiagnostic(OS, LO, &*DiagOpts)); in BeginSourceFile() 57 const DiagnosticOptions &DiagOpts) { in printDiagnosticOptions() argument 59 if (DiagOpts.ShowOptionNames) { in printDiagnosticOptions() 94 if (DiagOpts.ShowCategories) { in printDiagnosticOptions() 100 if (DiagOpts.ShowCategories == 1) in printDiagnosticOptions() 103 assert(DiagOpts.ShowCategories == 2 && "Invalid ShowCategories value"); in printDiagnosticOptions() 123 printDiagnosticOptions(DiagMessageStream, Level, Info, *DiagOpts); in HandleDiagnostic() 139 TextDiagnostic::printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in HandleDiagnostic() 140 DiagOpts->CLFallbackMode); in HandleDiagnostic() [all …]
|
D | TextDiagnostic.cpp | 668 DiagnosticOptions *DiagOpts) in TextDiagnostic() argument 669 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} in TextDiagnostic() 687 if (DiagOpts->ShowColors) in emitDiagnosticMessage() 690 printDiagnosticLevel(OS, Level, DiagOpts->ShowColors, in emitDiagnosticMessage() 691 DiagOpts->CLFallbackMode); in emitDiagnosticMessage() 695 DiagOpts->MessageLength, DiagOpts->ShowColors); in emitDiagnosticMessage() 792 if (!DiagOpts->ShowLocation) in emitDiagnosticLoc() 795 if (DiagOpts->ShowColors) in emitDiagnosticLoc() 799 switch (DiagOpts->getFormat()) { in emitDiagnosticLoc() 805 if (DiagOpts->ShowColumn) in emitDiagnosticLoc() [all …]
|
D | DiagnosticRenderer.cpp | 69 DiagnosticOptions *DiagOpts) in DiagnosticRenderer() argument 70 : LangOpts(LangOpts), DiagOpts(DiagOpts), LastLevel() {} in DiagnosticRenderer() 159 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitDiagnostic() 222 if (!DiagOpts->ShowNoteIncludeStack && Level == DiagnosticsEngine::Note) in emitIncludeStack() 242 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitIncludeStackRecursively() 285 PresumedLoc PLoc = SM.getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitImportStackRecursively() 307 DiagOpts->ShowPresumedLoc), in emitModuleBuildStack() 427 if (MacroDepth > DiagOpts->MacroBacktraceLimit && in emitMacroExpansions() 428 DiagOpts->MacroBacktraceLimit != 0) { in emitMacroExpansions() 429 MacroSkipStart = DiagOpts->MacroBacktraceLimit / 2 + in emitMacroExpansions() [all …]
|
D | FrontendActions.cpp | 463 ReadDiagnosticOptions(IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts, in ReadDiagnosticOptions() argument 466 #define DIAGOPT(Name, Bits, Default) DUMP_BOOLEAN(DiagOpts->Name, #Name); in ReadDiagnosticOptions() 468 Out.indent(4) << #Name << ": " << DiagOpts->get##Name() << "\n"; in ReadDiagnosticOptions() 470 Out.indent(4) << #Name << ": " << DiagOpts->Name << "\n"; in ReadDiagnosticOptions() 474 for (const std::string &Warning : DiagOpts->Warnings) { in ReadDiagnosticOptions()
|
D | SerializedDiagnosticPrinter.cpp | 56 DiagnosticOptions *DiagOpts) in SDiagsRenderer() argument 57 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} in SDiagsRenderer() 191 : DiagOpts(diags), Stream(Buffer), OS(os), EmittedAnyDiagBlocks(false) { } in SharedState() 194 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; member 559 SDiagsRenderer Renderer(*this, *LangOpts, &*State->DiagOpts); in HandleDiagnostic()
|
D | CompilerInstance.cpp | 130 static void SetUpDiagnosticLog(DiagnosticOptions *DiagOpts, in SetUpDiagnosticLog() argument 136 if (DiagOpts->DiagnosticLogFile != "-") { in SetUpDiagnosticLog() 139 DiagOpts->DiagnosticLogFile.c_str(), ErrorInfo, in SetUpDiagnosticLog() 143 << DiagOpts->DiagnosticLogFile << ErrorInfo; in SetUpDiagnosticLog() 153 LogDiagnosticPrinter *Logger = new LogDiagnosticPrinter(*OS, DiagOpts, in SetUpDiagnosticLog() 160 static void SetupSerializedDiagnostics(DiagnosticOptions *DiagOpts, in SetupSerializedDiagnostics() argument 175 clang::serialized_diags::create(OS.release(), DiagOpts); in SetupSerializedDiagnostics()
|
D | LogDiagnosticPrinter.cpp | 24 : OS(os), LangOpts(nullptr), DiagOpts(diags), in LogDiagnosticPrinter()
|
/external/clang/lib/Index/ |
D | SimpleFormatContext.h | 38 : DiagOpts(new DiagnosticOptions()), in SimpleFormatContext() 40 DiagOpts.get())), in SimpleFormatContext() 66 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable
|
/external/clang/unittests/Tooling/ |
D | RewriterTestContext.h | 38 : DiagOpts(new DiagnosticOptions()), in RewriterTestContext() 40 &*DiagOpts), in RewriterTestContext() 41 DiagnosticPrinter(llvm::outs(), &*DiagOpts), in RewriterTestContext() 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable
|
/external/clang/include/clang/Frontend/ |
D | DiagnosticRenderer.h | 49 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable 71 DiagnosticOptions *DiagOpts); 156 DiagnosticOptions *DiagOpts) in DiagnosticNoteRenderer() argument 157 : DiagnosticRenderer(LangOpts, DiagOpts) {} in DiagnosticNoteRenderer()
|
D | TextDiagnosticPrinter.h | 30 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable
|
D | LogDiagnosticPrinter.h | 48 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable
|
D | TextDiagnostic.h | 41 DiagnosticOptions *DiagOpts);
|
/external/clang/tools/arcmt-test/ |
D | arcmt-test.cpp | 108 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in checkForMigration() local 110 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); in checkForMigration() 113 new DiagnosticsEngine(DiagID, &*DiagOpts, DiagClient)); in checkForMigration() 152 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in performTransformations() local 154 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); in performTransformations() 157 new DiagnosticsEngine(DiagID, &*DiagOpts, &*DiagClient)); in performTransformations()
|
/external/clang/examples/clang-interpreter/ |
D | main.cpp | 72 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in main() local 74 new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); in main() 77 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); in main()
|
/external/clang/tools/driver/ |
D | cc1_main.cpp | 84 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in cc1_main() local 86 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagsBuffer); in cc1_main()
|
D | driver.cpp | 346 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions; in main() local 355 (void) ParseDiagnosticArgs(*DiagOpts, *Args); in main() 360 = new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts); in main() 371 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); in main() 372 ProcessWarningOptions(Diags, *DiagOpts, /*ReportDiags=*/false); in main()
|
D | cc1as_main.cpp | 436 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in cc1as_main() local 438 = new TextDiagnosticPrinter(errs(), &*DiagOpts); in cc1as_main() 441 DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient); in cc1as_main()
|
/external/clang/unittests/Lex/ |
D | PPCallbacksTest.cpp | 120 DiagOpts(new DiagnosticOptions()), in PPCallbacksTest() 121 Diags(DiagID, DiagOpts.get(), new IgnoringDiagConsumer()), in PPCallbacksTest() 130 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; member in __anon5fd522070111::PPCallbacksTest
|
/external/clang/lib/Tooling/ |
D | Refactoring.cpp | 286 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in runAndSave() local 287 TextDiagnosticPrinter DiagnosticPrinter(llvm::errs(), &*DiagOpts); in runAndSave() 290 &*DiagOpts, &DiagnosticPrinter, false); in runAndSave()
|
D | Tooling.cpp | 204 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in run() local 206 llvm::errs(), &*DiagOpts); in run() 208 IntrusiveRefCntPtr<clang::DiagnosticIDs>(new DiagnosticIDs()), &*DiagOpts, in run()
|
D | CompilationDatabase.cpp | 209 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); in stripPositionalArgs() local 213 &*DiagOpts, &DiagClient, false); in stripPositionalArgs()
|
/external/clang/tools/libclang/ |
D | CIndexDiagnostic.cpp | 92 DiagnosticOptions *DiagOpts, in CXDiagnosticRenderer() argument 94 : DiagnosticNoteRenderer(LangOpts, DiagOpts), in CXDiagnosticRenderer()
|
D | CIndexCodeCompletion.cpp | 261 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; member 324 DiagOpts(new DiagnosticOptions), in AllocatedCXCodeCompleteResults() 326 IntrusiveRefCntPtr<DiagnosticIDs>(new DiagnosticIDs), &*DiagOpts)), in AllocatedCXCodeCompleteResults()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 188 IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts; variable 348 DiagnosticOptions *DiagOpts, 358 DiagnosticOptions &getDiagnosticOptions() const { return *DiagOpts; } in getDiagnosticOptions()
|