Convert a DiagnosticInfo pointer to an opaque LLVMDiagnosticInfoRef.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

LLVMDiagnosticInfoRef
wrap(DiagnosticInfo const* P);

Return Value

An opaque C API diagnostic reference for P.

Parameters

Name

Description

P

DiagnosticInfo to wrap for the C API.

Created with MrDocs