/** * \brief Retrieve the text of the given diagnostic. */ func (d Diagnostic) Spelling() string { cx := cxstring{C.clang_getDiagnosticSpelling(d.c)} defer cx.Dispose() return cx.String() }
// Retrieve the text of the given diagnostic. func (d Diagnostic) Spelling() string { o := cxstring{C.clang_getDiagnosticSpelling(d.c)} defer o.Dispose() return o.String() }