[llvm] r374221 - [System Model] [TTI] Fix virtual destructor warning
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 13:48:52 PDT 2019
Author: vitalybuka
Date: Wed Oct 9 13:48:52 2019
New Revision: 374221
URL: http://llvm.org/viewvc/llvm-project?rev=374221&view=rev
Log:
[System Model] [TTI] Fix virtual destructor warning
Modified:
llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h
Modified: llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h?rev=374221&r1=374220&r2=374221&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h (original)
+++ llvm/trunk/include/llvm/CodeGen/BasicTTIImpl.h Wed Oct 9 13:48:52 2019
@@ -190,6 +190,7 @@ private:
protected:
explicit BasicTTIImplBase(const TargetMachine *TM, const DataLayout &DL)
: BaseT(DL) {}
+ virtual ~BasicTTIImplBase() = default;
using TargetTransformInfoImplBase::DL;
More information about the llvm-commits
mailing list