LLVM: lib/Linker/LinkDiagnosticInfo.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9#ifndef LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
10#define LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
11
13
14namespace llvm {
23}
24
25#endif
#define LLVM_LIFETIME_BOUND
DiagnosticInfo(int Kind, DiagnosticSeverity Severity)
Interface for custom diagnostic printing.
LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg LLVM_LIFETIME_BOUND)
void print(DiagnosticPrinter &DP) const override
Print using the given DP a user-friendly message.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
This is an optimization pass for GlobalISel generic memory operations.
DiagnosticSeverity
Defines the different supported severity of a diagnostic.