aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
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();