Lines Matching full:diagnostic
10 |* Implements the diagnostic functions of the Clang C interface. *|
174 // -error-on-deserialized-decl, that will emit a diagnostic error,
179 // We check here if a new diagnostic was appended since the last time the
180 // diagnostic set was created, in which case we reset it.
249 void clang_disposeDiagnostic(CXDiagnostic Diagnostic) {
254 CXString clang_formatDiagnostic(CXDiagnostic Diagnostic, unsigned Options) {
255 if (!Diagnostic)
258 CXDiagnosticSeverity Severity = clang_getDiagnosticSeverity(Diagnostic);
268 clang_getSpellingLocation(clang_getDiagnosticLocation(Diagnostic),
278 unsigned N = clang_getDiagnosticNumRanges(Diagnostic);
282 CXSourceRange Range = clang_getDiagnosticRange(Diagnostic, I);
315 CXString Text = clang_getDiagnosticSpelling(Diagnostic);
319 Out << "<no diagnostic text>";
328 CXString OptionName = clang_getDiagnosticOption(Diagnostic, nullptr);
341 if (unsigned CategoryID = clang_getDiagnosticCategory(Diagnostic)) {
353 CXString CategoryName = clang_getDiagnosticCategoryText(Diagnostic);