llvm::DiagnosticInfo::print

Print a user-friendly message using DP.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

virtual
void
print(DiagnosticPrinter& DP) const = 0;

Description

This is the default message that will be printed to the user. It is used when the frontend does not directly take advantage of the information contained in fields of the subclasses. The printed message must not end with '.' nor start with a severity keyword.

Parameters

NameDescription
DPPrinter that receives the message