[polly] r366697 - [Polly] Clang complains about missing virtual destructor

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 08:34:28 PDT 2019


Author: gchatelet
Date: Mon Jul 22 08:34:27 2019
New Revision: 366697

URL: http://llvm.org/viewvc/llvm-project?rev=366697&view=rev
Log:
[Polly] Clang complains about missing virtual destructor

Summary: Feel free to reassign if needed.

Reviewers: mhalk, bollu, jdoerfert

Reviewed By: jdoerfert

Subscribers: jdoerfert, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D64786

Modified:
    polly/trunk/include/polly/CodeGen/LoopGenerators.h

Modified: polly/trunk/include/polly/CodeGen/LoopGenerators.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/LoopGenerators.h?rev=366697&r1=366696&r2=366697&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/LoopGenerators.h (original)
+++ polly/trunk/include/polly/CodeGen/LoopGenerators.h Mon Jul 22 08:34:27 2019
@@ -118,6 +118,8 @@ public:
             Type::getIntNTy(Builder.getContext(), DL.getPointerSizeInBits())),
         M(Builder.GetInsertBlock()->getParent()->getParent()) {}
 
+  virtual ~ParallelLoopGenerator() {}
+
   /// Create a parallel loop.
   ///
   /// This function is the main function to automatically generate a parallel




More information about the llvm-commits mailing list