From 105056045d9ab0b1a49781a18129ada48893452e Mon Sep 17 00:00:00 2001 From: Logan Smith Date: Thu, 16 Jul 2020 20:39:45 -0700 Subject: [PATCH] [clang][NFC] Add a missing 'override' --- clang/unittests/CrossTU/CrossTranslationUnitTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp b/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp index 5495f27..4e6fbee 100644 --- a/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp +++ b/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp @@ -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()) { -- 2.7.4