diff --git a/lib/CodeGen/CodeGenAction.cpp b/lib/CodeGen/CodeGenAction.cpp
index 795b3a06f0040e2fe96f572a6ef39ae5fa18346e..1e17918df4a4ca3b4bf4e5c742db3c91e535cc41 100644
--- a/lib/CodeGen/CodeGenAction.cpp
+++ b/lib/CodeGen/CodeGenAction.cpp
@@ -152,7 +152,7 @@ namespace clang {
         LLVMIRGeneration.stopTimer();
     }
 
-    void HandleInterestingDecl(DeclGroupRef D) {
+    void HandleInterestingDecl(DeclGroupRef D) override {
       // Ignore interesting decls from the AST reader after IRGen is finished.
       if (!IRGenFinished)
         HandleTopLevelDecl(D);