Ide.LspDiagnostic.new
Description: Reference for Ide.LspDiagnostic.new

### Constructor

# Ide LspDiagnosticnew

#### Declaration

    IdeLspDiagnostic*
    ide_lsp_diagnostic_new (
      IdeDiagnosticSeverity severity,
      const gchar* message,
      IdeLocation* location,
      GVariant* raw_value
    )

#### Description

No description available.

#### Parameters

`severity` | `IdeDiagnosticSeverity`
| No description available.
`message` | `const gchar*`
| No description available.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`location` | `IdeLocation`
| No description available.
| The data is owned by the caller of the function.
`raw_value` | `GVariant`
| No description available.
| The data is owned by the caller of the function.

#### Return value

Returns: | `IdeLspDiagnostic`
| No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it.