r288227 - Fix -Winconsistent-missing-override in CodeGenAction.cpp

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 17:32:54 PST 2016


Author: rnk
Date: Tue Nov 29 19:32:53 2016
New Revision: 288227

URL: http://llvm.org/viewvc/llvm-project?rev=288227&view=rev
Log:
Fix -Winconsistent-missing-override in CodeGenAction.cpp

Modified:
    cfe/trunk/lib/CodeGen/CodeGenAction.cpp

Modified: cfe/trunk/lib/CodeGen/CodeGenAction.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenAction.cpp?rev=288227&r1=288226&r2=288227&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenAction.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenAction.cpp Tue Nov 29 19:32:53 2016
@@ -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);




More information about the cfe-commits mailing list