Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Diagnostic

1 //===--- TextDiagnosticPrinter.cpp - Diagnostic Printer -------------------===//
10 // This diagnostic client prints out their diagnostic messages.
49 /// \brief Print any diagnostic option information to a raw_ostream.
51 /// This implements all of the logic for adding diagnostic options to a message
56 const Diagnostic &Info,
67 // report to the user what happened by inferring what the diagnostic engine
68 // did. Eventually it might make more sense to have the diagnostic engine
69 // include some "why" information in the diagnostic.
113 const Diagnostic &Info) {
117 // Render the diagnostic message into a temporary buffer eagerly. We'll use
118 // this later as we print out the diagnostic to the terminal.
150 assert(DiagOpts && "Unexpected diagnostic without options set");
152 "Unexpected diagnostic with no source manager");
153 assert(TextDiag && "Unexpected diagnostic outside source file processing");