diff options
| author | Daniel Jasper <djasper@google.com> | 2012-12-04 21:05:31 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2012-12-04 21:05:31 +0000 |
| commit | 61bd3a1dc612af9bde0765f9f4e6c2847554d2ac (patch) | |
| tree | 4917b821e137133b99a65b8b3d939e47ec471a54 /clang/lib/Format/Format.cpp | |
| parent | c7cb3145a03b0c146bafae57b600c9e7ba05b12d (diff) | |
| download | bcm5719-llvm-61bd3a1dc612af9bde0765f9f4e6c2847554d2ac.tar.gz bcm5719-llvm-61bd3a1dc612af9bde0765f9f4e6c2847554d2ac.zip | |
Add missing destructors found with -Wnon-virtual-dtor.
llvm-svn: 169303
Diffstat (limited to 'clang/lib/Format/Format.cpp')
| -rw-r--r-- | clang/lib/Format/Format.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 87deccbb376..d928aa95804 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -686,6 +686,9 @@ public: StructuralError(false) { } + virtual ~Formatter() { + } + tooling::Replacements format() { UnwrappedLineParser Parser(Lex, SourceMgr, *this); StructuralError = Parser.parse(); |

