summaryrefslogtreecommitdiffstats
path: root/polly/include
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2013-03-23 01:10:53 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2013-03-23 01:10:53 +0000
commit7670bb5c3199b8c5409145c80768d2dfe46a1609 (patch)
treeb736227be7de53674f5b370d0d48be9fd4cdc3c3 /polly/include
parentbe8bc67b66f73f3ee22a01e960439b103cd96cd6 (diff)
downloadbcm5719-llvm-7670bb5c3199b8c5409145c80768d2dfe46a1609.tar.gz
bcm5719-llvm-7670bb5c3199b8c5409145c80768d2dfe46a1609.zip
Cloog: Add virtual destructor to silence gcc warning
This silences the following warning: 'polly::ClastVisitor' has virtual functions but non-virtual destructor [-Wnon-virtual-dtor] llvm-svn: 177798
Diffstat (limited to 'polly/include')
-rw-r--r--polly/include/polly/CodeGen/Cloog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/include/polly/CodeGen/Cloog.h b/polly/include/polly/CodeGen/Cloog.h
index f25bca2c6ce..a58c7bf588f 100644
--- a/polly/include/polly/CodeGen/Cloog.h
+++ b/polly/include/polly/CodeGen/Cloog.h
@@ -76,6 +76,7 @@ public:
virtual void visitGuard(const clast_guard *stmt);
virtual void visitUser(const clast_user_stmt *stmt) = 0;
+ virtual ~ClastVisitor() {}
};
}
OpenPOWER on IntegriCloud