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/Format.cpp b/lib/Format/Format.cpp index 87deccbb..d928aa9 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp
@@ -686,6 +686,9 @@ StructuralError(false) { } + virtual ~Formatter() { + } + tooling::Replacements format() { UnwrappedLineParser Parser(Lex, SourceMgr, *this); StructuralError = Parser.parse();