[SampleFDO] Provide a virtual desructor for SampleProfileLoaderBaseImpl
authorKazu Hirata <kazu@google.com>
Tue, 16 Feb 2021 21:17:33 +0000 (13:17 -0800)
committerKazu Hirata <kazu@google.com>
Tue, 16 Feb 2021 21:17:33 +0000 (13:17 -0800)
commitba2aa5f49ebbe28ad2dbf0c5bea451f0ebf436c6
treea3ed0c236af964234e44b736b22e10a6c3fd1577
parent99c0458f2f53ec26d663e5b9ad750e54ecf51d4b
[SampleFDO] Provide a virtual desructor for SampleProfileLoaderBaseImpl

This patch fixes a warning:

  llvm-project/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h:69:7:
  error: 'llvm::SampleProfileLoaderBaseImpl' has virtual functions but
  non-virtual destructor [-Werror,-Wnon-virtual-dtor]

Differential Revision: https://reviews.llvm.org/D96810
llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h