mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[gardening] Use override as appropriate
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user