diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-03-23 01:10:53 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-03-23 01:10:53 +0000 |
commit | 7670bb5c3199b8c5409145c80768d2dfe46a1609 (patch) | |
tree | b736227be7de53674f5b370d0d48be9fd4cdc3c3 /polly/include | |
parent | be8bc67b66f73f3ee22a01e960439b103cd96cd6 (diff) | |
download | bcm5719-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.h | 1 |
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() {} }; } |