Lines Matching full:diagnostic
1 //===--- TextDiagnosticPrinter.cpp - Diagnostic Printer -------------------===//
9 // This diagnostic client prints out their diagnostic messages.
46 /// Print any diagnostic option information to a raw_ostream.
48 /// This implements all of the logic for adding diagnostic options to a message
53 const Diagnostic &Info, in printDiagnosticOptions()
64 // report to the user what happened by inferring what the diagnostic engine in printDiagnosticOptions()
65 // did. Eventually it might make more sense to have the diagnostic engine in printDiagnosticOptions()
66 // include some "why" information in the diagnostic. in printDiagnosticOptions()
110 const Diagnostic &Info) { in HandleDiagnostic()
114 // Render the diagnostic message into a temporary buffer eagerly. We'll use in HandleDiagnostic()
115 // this later as we print out the diagnostic to the terminal. in HandleDiagnostic()
146 assert(DiagOpts && "Unexpected diagnostic without options set"); in HandleDiagnostic()
148 "Unexpected diagnostic with no source manager"); in HandleDiagnostic()
149 assert(TextDiag && "Unexpected diagnostic outside source file processing"); in HandleDiagnostic()