[gardening] Use override as appropriate

This commit is contained in:
practicalswift
2017-04-20 13:46:31 +02:00
parent a596961187
commit 5b9267b8b4
7 changed files with 22 additions and 22 deletions

View File

@@ -124,7 +124,7 @@ public:
AnnotatingPrinter(SourceTextInfo &Info, llvm::raw_ostream &OS)
: StreamPrinter(OS), Info(Info) { }
~AnnotatingPrinter() {
~AnnotatingPrinter() override {
assert(DeclUSRs.empty() && "unmatched printDeclLoc call ?");
}
@@ -223,7 +223,7 @@ public:
}
};
}
} // namespace
static bool makeParserAST(CompilerInstance &CI, StringRef Text) {
CompilerInvocation Invocation;