clang_getDiagnostic

\brief Retrieve a diagnostic associated with the given translation unit.

\param Unit the translation unit to query. \param Index the zero-based diagnostic number to retrieve.

\returns the requested diagnostic. This diagnostic must be freed via a call to \c clang_disposeDiagnostic().

extern (C)
clang_getDiagnostic
(
CXTranslationUnit Unit
,
uint Index
)

Meta