clang_getDiagnosticOption

\brief Retrieve the name of the command-line option that enabled this diagnostic.

\param Diag The diagnostic to be queried.

\param Disable If non-NULL, will be set to the option that disables this diagnostic (if any).

\returns A string that contains the command-line option used to enable this warning, such as "-Wconversion" or "-pedantic".

extern (C)
clang_getDiagnosticOption

Meta