Lines Matching refs:diagnostic
602 * \defgroup CINDEX_DIAG Diagnostic reporting
608 * \brief Describes the severity of a particular diagnostic.
612 * \brief A diagnostic that has been suppressed, e.g., by a command-line
618 * \brief This diagnostic is a note that should be attached to the
619 * previous (non-note) diagnostic.
624 * \brief This diagnostic indicates suspicious code that may not be
630 * \brief This diagnostic indicates that the code is ill-formed.
635 * \brief This diagnostic indicates that the code is ill-formed such
643 * \brief A single diagnostic, containing the diagnostic's severity,
659 * \brief Retrieve a diagnostic associated with the given CXDiagnosticSet.
662 * \param Index the zero-based diagnostic number to retrieve.
664 * \returns the requested diagnostic. This diagnostic must be freed
737 * \brief Retrieve a diagnostic associated with the given translation unit.
740 * \param Index the zero-based diagnostic number to retrieve.
742 * \returns the requested diagnostic. This diagnostic must be freed
758 * \brief Destroy a diagnostic.
760 CINDEX_LINKAGE void clang_disposeDiagnostic(CXDiagnostic Diagnostic);
771 * diagnostic was located.
774 * (optionally) column to which the diagnostic refers. For example,
786 * diagnostic, also include the column number.
794 * diagnostic, also include information about source ranges in a
803 * \brief Display the option name associated with this diagnostic, if any.
806 * after the diagnostic text. This option corresponds to the clang flag
812 * \brief Display the category number associated with this diagnostic, if any.
814 * The category number is displayed within brackets after the diagnostic text.
821 * \brief Display the category name associated with this diagnostic, if any.
823 * The category name is displayed within brackets after the diagnostic text.
831 * \brief Format the given diagnostic in a manner that is suitable for display.
833 * This routine will format the given diagnostic to a string, rendering
834 * the diagnostic according to the various options given. The
838 * \param Diagnostic The diagnostic to print.
840 * \param Options A set of options that control the diagnostic display,
843 * \returns A new string containing for formatted diagnostic.
845 CINDEX_LINKAGE CXString clang_formatDiagnostic(CXDiagnostic Diagnostic,
858 * \brief Determine the severity of the given diagnostic.
864 * \brief Retrieve the source location of the given diagnostic.
867 * displaying the diagnostic on the command line.
872 * \brief Retrieve the text of the given diagnostic.
878 * diagnostic.
880 * \param Diag The diagnostic to be queried.
883 * diagnostic (if any).
892 * \brief Retrieve the category number for this diagnostic.
896 * retrieves the category number for the given diagnostic.
898 * \returns The number of the category that contains this diagnostic, or zero
899 * if this diagnostic is uncategorized.
904 * \brief Retrieve the name of a particular diagnostic category. This
908 * \param Category A diagnostic category number, as returned by
911 * \returns The name of the given diagnostic category.
917 * \brief Retrieve the diagnostic category text for a given diagnostic.
919 * \returns The text of the given diagnostic category.
925 * diagnostic.
930 * \brief Retrieve a source range associated with the diagnostic.
932 * A diagnostic's source ranges highlight important elements in the source
936 * \param Diagnostic the diagnostic whose range is being extracted.
942 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
947 * given diagnostic.
949 CINDEX_LINKAGE unsigned clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic);
964 * \param Diagnostic The diagnostic whose fix-its are being queried.
976 CINDEX_LINKAGE CXString clang_getDiagnosticFixIt(CXDiagnostic Diagnostic,
4980 * \brief Retrieve a diagnostic associated with the given code completion.
4983 * \param Index the zero-based diagnostic number to retrieve.
4985 * \returns the requested diagnostic. This diagnostic must be freed
5566 * \brief Called at the end of indexing; passes the complete diagnostic set.
5568 void (*diagnostic)(CXClientData client_data,
5764 * -Diagnostic callback invocations