aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2012-12-04 21:05:31 +0000
committerDaniel Jasper <djasper@google.com>2012-12-04 21:05:31 +0000
commitaccb0b0ad36138855e7d81f210588ad9b3c9de48 (patch)
tree9c77a519a224c54dc60e8b578e6411d1830fd2cc /lib/Format/Format.cpp
parent441d9f7a36d3289eed0299823f05f70f810364ee (diff)
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
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index 87deccbb37..d928aa9580 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -686,6 +686,9 @@ public:
StructuralError(false) {
}
+ virtual ~Formatter() {
+ }
+
tooling::Replacements format() {
UnwrappedLineParser Parser(Lex, SourceMgr, *this);
StructuralError = Parser.parse();