Class TDiagnosticSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TDiagnosticSet = class(TInterfacedObject, IDiagnosticSet)

Description

Implements IDiagnosticSet

Hierarchy

  • TInterfacedObject
  • TDiagnosticSet

Overview

Methods

Public constructor Create(const AHandle: TCXDiagnosticSet; const AOwnsHandle: Boolean = True);
Public function Load(const AFilename: String): IDiagnosticSet; overload;
Public function Load(const AFilename: String; out AError: TLoadDiagError; out AErrorString: String): IDiagnosticSet; overload;
Public destructor Destroy; override;

Description

Methods

Public constructor Create(const AHandle: TCXDiagnosticSet; const AOwnsHandle: Boolean = True);
 
Public function Load(const AFilename: String): IDiagnosticSet; overload;
Public function Load(const AFilename: String; out AError: TLoadDiagError; out AErrorString: String): IDiagnosticSet; overload;

Deserialize a set of diagnostics from a Clang diagnostics bitcode file.

Parameters
AFilename
The name of the file to deserialize.
AError
(optional) is set to an error code (if any).
AErrorString
(optional) is set to an error string (if any).
Returns

The loaded diagnostic set, of nil on error.

Public destructor Destroy; override;
 

Generated by PasDocEx, based on PasDoc 0.14.0.