Lines Matching full:diagnostic
25 * \defgroup CINDEX_DIAG Diagnostic reporting
31 * Describes the severity of a particular diagnostic.
35 * A diagnostic that has been suppressed, e.g., by a command-line
41 * This diagnostic is a note that should be attached to the
42 * previous (non-note) diagnostic.
47 * This diagnostic indicates suspicious code that may not be
53 * This diagnostic indicates that the code is ill-formed.
58 * This diagnostic indicates that the code is ill-formed such
66 * A single diagnostic, containing the diagnostic's severity,
82 * Retrieve a diagnostic associated with the given CXDiagnosticSet.
85 * \param Index the zero-based diagnostic number to retrieve.
87 * \returns the requested diagnostic. This diagnostic must be freed
152 * Destroy a diagnostic.
154 CINDEX_LINKAGE void clang_disposeDiagnostic(CXDiagnostic Diagnostic);
165 * diagnostic was located.
168 * (optionally) column to which the diagnostic refers. For example,
180 * diagnostic, also include the column number.
188 * diagnostic, also include information about source ranges in a
197 * Display the option name associated with this diagnostic, if any.
200 * after the diagnostic text. This option corresponds to the clang flag
206 * Display the category number associated with this diagnostic, if any.
208 * The category number is displayed within brackets after the diagnostic text.
215 * Display the category name associated with this diagnostic, if any.
217 * The category name is displayed within brackets after the diagnostic text.
225 * Format the given diagnostic in a manner that is suitable for display.
227 * This routine will format the given diagnostic to a string, rendering
228 * the diagnostic according to the various options given. The
232 * \param Diagnostic The diagnostic to print.
234 * \param Options A set of options that control the diagnostic display,
237 * \returns A new string containing for formatted diagnostic.
239 CINDEX_LINKAGE CXString clang_formatDiagnostic(CXDiagnostic Diagnostic,
252 * Determine the severity of the given diagnostic.
258 * Retrieve the source location of the given diagnostic.
261 * displaying the diagnostic on the command line.
266 * Retrieve the text of the given diagnostic.
272 * diagnostic.
274 * \param Diag The diagnostic to be queried.
277 * diagnostic (if any).
286 * Retrieve the category number for this diagnostic.
290 * retrieves the category number for the given diagnostic.
292 * \returns The number of the category that contains this diagnostic, or zero
293 * if this diagnostic is uncategorized.
298 * Retrieve the name of a particular diagnostic category. This
302 * \param Category A diagnostic category number, as returned by
305 * \returns The name of the given diagnostic category.
311 * Retrieve the diagnostic category text for a given diagnostic.
313 * \returns The text of the given diagnostic category.
319 * diagnostic.
324 * Retrieve a source range associated with the diagnostic.
326 * A diagnostic's source ranges highlight important elements in the source
330 * \param Diagnostic the diagnostic whose range is being extracted.
336 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
341 * given diagnostic.
343 CINDEX_LINKAGE unsigned clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic);
358 * \param Diagnostic The diagnostic whose fix-its are being queried.
371 CXDiagnostic Diagnostic, unsigned FixIt, CXSourceRange *ReplacementRange);