Fix missing virtual destructor to silence build warning.

llvm-svn: 300322
This commit is contained in:
Nirav Dave 2017-04-14 13:34:33 +00:00
parent 642ed1ef7e
commit 353158c177
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ public:
MCSubtargetInfo &operator=(const MCSubtargetInfo &) = delete;
MCSubtargetInfo &operator=(MCSubtargetInfo &&) = delete;
virtual ~MCSubtargetInfo() {}
/// getTargetTriple - Return the target triple string.
const Triple &getTargetTriple() const { return TargetTriple; }