[llvm] c312029 - Effectively revert ba2aa5f49ebb since the object isn't destroyed polymorphically

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 16 13:46:26 PST 2021


Author: David Blaikie
Date: 2021-02-16T13:45:25-08:00
New Revision: c3120291f43b9ad0e09d4bc574c004f13822edd5

URL: https://github.com/llvm/llvm-project/commit/c3120291f43b9ad0e09d4bc574c004f13822edd5
DIFF: https://github.com/llvm/llvm-project/commit/c3120291f43b9ad0e09d4bc574c004f13822edd5.diff

LOG: Effectively revert ba2aa5f49ebb since the object isn't destroyed polymorphically

Added: 
    

Modified: 
    llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h b/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
index 60f117cefcb2..48d7ae41e9d0 100644
--- a/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
+++ b/llvm/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
@@ -69,7 +69,6 @@ extern cl::opt<bool> NoWarnSampleUnused;
 class SampleProfileLoaderBaseImpl {
 public:
   SampleProfileLoaderBaseImpl(std::string Name) : Filename(Name) {}
-  virtual ~SampleProfileLoaderBaseImpl() = default;
   void dump() { Reader->dump(); }
 
 protected:


        


More information about the llvm-commits mailing list