[polly] r177798 - Cloog: Add virtual destructor to silence gcc warning
Tobias Grosser
grosser at fim.uni-passau.de
Fri Mar 22 18:10:54 PDT 2013
Author: grosser
Date: Fri Mar 22 20:10:53 2013
New Revision: 177798
URL: http://llvm.org/viewvc/llvm-project?rev=177798&view=rev
Log:
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]
Modified:
polly/trunk/include/polly/CodeGen/Cloog.h
Modified: polly/trunk/include/polly/CodeGen/Cloog.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/Cloog.h?rev=177798&r1=177797&r2=177798&view=diff
==============================================================================
--- polly/trunk/include/polly/CodeGen/Cloog.h (original)
+++ polly/trunk/include/polly/CodeGen/Cloog.h Fri Mar 22 20:10:53 2013
@@ -76,6 +76,7 @@ public:
virtual void visitGuard(const clast_guard *stmt);
virtual void visitUser(const clast_user_stmt *stmt) = 0;
+ virtual ~ClastVisitor() {}
};
}
More information about the llvm-commits
mailing list