Home | History | Annotate | Download | only in clang-c

Lines Matching full:diagnostic

639  * \defgroup CINDEX_DIAG Diagnostic reporting
645 * \brief Describes the severity of a particular diagnostic.
649 * \brief A diagnostic that has been suppressed, e.g., by a command-line
655 * \brief This diagnostic is a note that should be attached to the
656 * previous (non-note) diagnostic.
661 * \brief This diagnostic indicates suspicious code that may not be
667 * \brief This diagnostic indicates that the code is ill-formed.
672 * \brief This diagnostic indicates that the code is ill-formed such
680 * \brief A single diagnostic, containing the diagnostic's severity,
696 * \brief Retrieve a diagnostic associated with the given CXDiagnosticSet.
699 * \param Index the zero-based diagnostic number to retrieve.
701 * \returns the requested diagnostic. This diagnostic must be freed
773 * \brief Retrieve a diagnostic associated with the given translation unit.
776 * \param Index the zero-based diagnostic number to retrieve.
778 * \returns the requested diagnostic. This diagnostic must be freed
794 * \brief Destroy a diagnostic.
796 CINDEX_LINKAGE void clang_disposeDiagnostic(CXDiagnostic Diagnostic);
807 * diagnostic was located.
810 * (optionally) column to which the diagnostic refers. For example,
822 * diagnostic, also include the column number.
830 * diagnostic, also include information about source ranges in a
839 * \brief Display the option name associated with this diagnostic, if any.
842 * after the diagnostic text. This option corresponds to the clang flag
848 * \brief Display the category number associated with this diagnostic, if any.
850 * The category number is displayed within brackets after the diagnostic text.
857 * \brief Display the category name associated with this diagnostic, if any.
859 * The category name is displayed within brackets after the diagnostic text.
867 * \brief Format the given diagnostic in a manner that is suitable for display.
869 * This routine will format the given diagnostic to a string, rendering
870 * the diagnostic according to the various options given. The
874 * \param Diagnostic The diagnostic to print.
876 * \param Options A set of options that control the diagnostic display,
879 * \returns A new string containing for formatted diagnostic.
881 CINDEX_LINKAGE CXString clang_formatDiagnostic(CXDiagnostic Diagnostic,
894 * \brief Determine the severity of the given diagnostic.
900 * \brief Retrieve the source location of the given diagnostic.
903 * displaying the diagnostic on the command line.
908 * \brief Retrieve the text of the given diagnostic.
914 * diagnostic.
916 * \param Diag The diagnostic to be queried.
919 * diagnostic (if any).
928 * \brief Retrieve the category number for this diagnostic.
932 * retrieves the category number for the given diagnostic.
934 * \returns The number of the category that contains this diagnostic, or zero
935 * if this diagnostic is uncategorized.
940 * \brief Retrieve the name of a particular diagnostic category. This
944 * \param Category A diagnostic category number, as returned by
947 * \returns The name of the given diagnostic category.
953 * \brief Retrieve the diagnostic category text for a given diagnostic.
955 * \returns The text of the given diagnostic category.
961 * diagnostic.
966 * \brief Retrieve a source range associated with the diagnostic.
968 * A diagnostic's source ranges highlight important elements in the source
972 * \param Diagnostic the diagnostic whose range is being extracted.
978 CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
983 * given diagnostic.
985 CINDEX_LINKAGE unsigned clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic);
1000 * \param Diagnostic The diagnostic whose fix-its are being queried.
1012 CINDEX_LINKAGE CXString clang_getDiagnosticFixIt(CXDiagnostic Diagnostic,
4958 * \brief Retrieve a diagnostic associated with the given code completion.
4961 * \param Index the zero-based diagnostic number to retrieve.
4963 * \returns the requested diagnostic. This diagnostic must be freed
5541 * \brief Called at the end of indexing; passes the complete diagnostic set.
5543 void (*diagnostic)(CXClientData client_data,
5752 * -Diagnostic callback invocations