[PATCH] D64786: [Polly] Clang complains about missing virtual destructor

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 00:51:08 PDT 2019


gchatelet created this revision.
gchatelet added a reviewer: mhalk.
Herald added a reviewer: bollu.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Feel free to reassign if needed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64786

Files:
  polly/include/polly/CodeGen/LoopGenerators.h


Index: polly/include/polly/CodeGen/LoopGenerators.h
===================================================================
--- polly/include/polly/CodeGen/LoopGenerators.h
+++ polly/include/polly/CodeGen/LoopGenerators.h
@@ -118,6 +118,8 @@
             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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64786.210034.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190716/7e15b92b/attachment.bin>


More information about the llvm-commits mailing list