Skip to content

Commit

Permalink
[clang][NFC] Add a missing 'override'
Browse files Browse the repository at this point in the history
  • Loading branch information
kepler-5 committed Jul 18, 2020
1 parent 3ee7fe4 commit 1050560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
Expand Up @@ -29,7 +29,7 @@ class CTUASTConsumer : public clang::ASTConsumer {
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()) {
Expand Down

0 comments on commit 1050560

Please sign in to comment.