[WebAssembly] Add 'final' to some classes. NFC.

llvm-svn: 254073
This commit is contained in:
Dan Gohman 2015-11-25 16:29:24 +00:00
parent 02559bbfd7
commit fd4a88c376
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ namespace llvm {
class MCOperand;
class MCSubtargetInfo;
class WebAssemblyInstPrinter : public MCInstPrinter {
class WebAssemblyInstPrinter final : public MCInstPrinter {
public:
WebAssemblyInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
const MCRegisterInfo &MRI);

View File

@ -39,7 +39,7 @@ using namespace llvm;
namespace {
// Diagnostic information for unimplemented or unsupported feature reporting.
// FIXME copied from BPF and AMDGPU.
class DiagnosticInfoUnsupported : public DiagnosticInfo {
class DiagnosticInfoUnsupported final : public DiagnosticInfo {
private:
// Debug location where this diagnostic is triggered.
DebugLoc DLoc;