Skip to content

Commit 1050560

Browse files
committed
[clang][NFC] Add a missing 'override'
1 parent 3ee7fe4 commit 1050560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/CrossTU/CrossTranslationUnitTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CTUASTConsumer : public clang::ASTConsumer {
2929
explicit CTUASTConsumer(clang::CompilerInstance &CI, bool *Success)
3030
: CTU(CI), Success(Success) {}
3131

32-
void HandleTranslationUnit(ASTContext &Ctx) {
32+
void HandleTranslationUnit(ASTContext &Ctx) override {
3333
auto FindFInTU = [](const TranslationUnitDecl *TU) {
3434
const FunctionDecl *FD = nullptr;
3535
for (const Decl *D : TU->decls()) {

0 commit comments

Comments
 (0)