Skip to content
Snippets Groups Projects
Commit accb0b0a authored by Daniel Jasper's avatar Daniel Jasper
Browse files

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
parent 441d9f7a
No related branches found
No related tags found
No related merge requests found
......@@ -686,6 +686,9 @@ public:
StructuralError(false) {
}
virtual ~Formatter() {
}
tooling::Replacements format() {
UnwrappedLineParser Parser(Lex, SourceMgr, *this);
StructuralError = Parser.parse();
......
......@@ -71,6 +71,8 @@ struct UnwrappedLine {
class UnwrappedLineConsumer {
public:
virtual ~UnwrappedLineConsumer() {
}
virtual void formatUnwrappedLine(const UnwrappedLine &Line) = 0;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment