1 //===- LinkDiagnosticInfo.h -------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
11 #define LLVM_LIB_LINKER_LINK_DIAGNOSTIC_INFO_H
13 #include "llvm/IR/DiagnosticInfo.h"
16 class LinkDiagnosticInfo : public DiagnosticInfo {
20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
21 void print(DiagnosticPrinter &DP) const override;