Add missing destructors found with -Wnon-virtual-dtor.
llvm-svn: 169303
This commit is contained in:
parent
c7cb3145a0
commit
61bd3a1dc6
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue