clang_getDiagnostic

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) @nogc @trusted nothrow pure
clang_getDiagnostic

Meta