[llvm] 19dd371 - [llvm][NFC] Add missing 'override'

Logan Smith via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 19 09:57:27 PDT 2020


Author: Logan Smith
Date: 2020-07-19T09:57:14-07:00
New Revision: 19dd3712e5ae6278656003b0734e4d83c72abf12

URL: https://github.com/llvm/llvm-project/commit/19dd3712e5ae6278656003b0734e4d83c72abf12
DIFF: https://github.com/llvm/llvm-project/commit/19dd3712e5ae6278656003b0734e4d83c72abf12.diff

LOG: [llvm][NFC] Add missing 'override'

Added: 
    

Modified: 
    llvm/tools/llvm-rc/ResourceScriptStmt.h

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-rc/ResourceScriptStmt.h b/llvm/tools/llvm-rc/ResourceScriptStmt.h
index 7076eca96a23..b772732e78e6 100644
--- a/llvm/tools/llvm-rc/ResourceScriptStmt.h
+++ b/llvm/tools/llvm-rc/ResourceScriptStmt.h
@@ -289,7 +289,9 @@ class OptStatementsRCResource : public RCResource {
       : RCResource(Flags),
         OptStatements(std::make_unique<OptionalStmtList>(std::move(Stmts))) {}
 
-  virtual Error applyStmts(Visitor *V) const { return OptStatements->visit(V); }
+  Error applyStmts(Visitor *V) const override {
+    return OptStatements->visit(V);
+  }
 };
 
 // LANGUAGE statement. It can occur both as a top-level statement (in such


        


More information about the llvm-commits mailing list