[clang][NFC] Add a missing 'override'

This commit is contained in:
Logan Smith 2020-07-16 20:39:45 -07:00
parent 3ee7fe4cfd
commit 105056045d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public:
explicit CTUASTConsumer(clang::CompilerInstance &CI, bool *Success)
: CTU(CI), Success(Success) {}
void HandleTranslationUnit(ASTContext &Ctx) {
void HandleTranslationUnit(ASTContext &Ctx) override {
auto FindFInTU = [](const TranslationUnitDecl *TU) {
const FunctionDecl *FD = nullptr;
for (const Decl *D : TU->decls()) {