1 //===-- AMDGPUDiagnosticInfoUnsupported.cpp -------------------------------===//
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 #include "AMDGPUDiagnosticInfoUnsupported.h"
14 DiagnosticInfoUnsupported::DiagnosticInfoUnsupported(
17 DiagnosticSeverity Severity)
18 : DiagnosticInfo(getKindID(), Severity),
22 int DiagnosticInfoUnsupported::KindID = 0;
24 void DiagnosticInfoUnsupported::print(DiagnosticPrinter &DP) const {
25 DP << "unsupported " << getDescription() << " in " << Fn.getName();