[PowerPC] Do not emit record-form rotates when record-form andi/andis suffices
[llvm-core.git] / lib / Linker / LinkDiagnosticInfo.h
blobd91f19c69aacf21e5192dacf71c398ac029ec8cb
1 //===- LinkDiagnosticInfo.h -------------------------------------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
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"
15 namespace llvm {
16 class LinkDiagnosticInfo : public DiagnosticInfo {
17 const Twine &Msg;
19 public:
20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
21 void print(DiagnosticPrinter &DP) const override;
25 #endif