Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: src/IceOperand.h

Issue 1741733003: Fix clang warning "has virtual functions but non-virtual destructor". (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceInst.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceOperand.h
diff --git a/src/IceOperand.h b/src/IceOperand.h
index 443e2d01ddefc98b642c3de936671cd878e1098f..f3a66fcba0c0ee488a802c6cb4258a97a7ef800d 100644
--- a/src/IceOperand.h
+++ b/src/IceOperand.h
@@ -91,7 +91,7 @@ public:
}
/// @}
- ~Operand() = default;
+ virtual ~Operand() = default;
protected:
Operand(OperandKind Kind, Type Ty) : Ty(Ty), Kind(Kind) {
« no previous file with comments | « src/IceInst.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698