[polly] r248812 - Add default region generator

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 11:07:17 PDT 2015


Author: grosser
Date: Tue Sep 29 13:07:17 2015
New Revision: 248812

URL: http://llvm.org/viewvc/llvm-project?rev=248812&view=rev
Log:
Add default region generator

This hopefully helps to to address the following compile error on our buildbots

BlockGenerators.h:683:7: error: looser throw specifier for ‘virtual
polly::RegionGenerator::~RegionGenerator()’
BlockGenerators.h:164:11: error:   overriding ‘virtual polly::BlockGenerator::~BlockGenerator() noexcept
(true)`

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

Modified: polly/trunk/include/polly/CodeGen/BlockGenerators.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/BlockGenerators.h?rev=248812&r1=248811&r2=248812&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/BlockGenerators.h (original)
+++ polly/trunk/include/polly/CodeGen/BlockGenerators.h Tue Sep 29 13:07:17 2015
@@ -687,6 +687,8 @@ public:
   /// @param BlockGen A generator for basic blocks.
   RegionGenerator(BlockGenerator &BlockGen) : BlockGenerator(BlockGen) {}
 
+  virtual ~RegionGenerator() = default;
+
   /// @brief Copy the region statement @p Stmt.
   ///
   /// This copies the entire region represented by @p Stmt and updates




More information about the llvm-commits mailing list