commit | accb0b0ad36138855e7d81f210588ad9b3c9de48 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Tue Dec 04 21:05:31 2012 +0000 |
committer | Daniel Jasper <djasper@google.com> | Tue Dec 04 21:05:31 2012 +0000 |
tree | 9c77a519a224c54dc60e8b578e6411d1830fd2cc | |
parent | 441d9f7a36d3289eed0299823f05f70f810364ee [diff] [blame] |
Add missing destructors found with -Wnon-virtual-dtor. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169303 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Format/UnwrappedLineParser.h b/lib/Format/UnwrappedLineParser.h index 63f3659..20ff4f5 100644 --- a/lib/Format/UnwrappedLineParser.h +++ b/lib/Format/UnwrappedLineParser.h
@@ -71,6 +71,8 @@ class UnwrappedLineConsumer { public: + virtual ~UnwrappedLineConsumer() { + } virtual void formatUnwrappedLine(const UnwrappedLine &Line) = 0; };