Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(713)

Unified Diff: src/ast-numbering.cc

Issue 688533002: Add a few missing overrides found by a new clang warning. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/ast-numbering.cc
===================================================================
--- src/ast-numbering.cc (revision 24959)
+++ src/ast-numbering.cc (working copy)
@@ -24,12 +24,12 @@
private:
// AST node visitor interface.
-#define DEFINE_VISIT(type) virtual void Visit##type(type* node);
+#define DEFINE_VISIT(type) virtual void Visit##type(type* node) OVERRIDE;
AST_NODE_LIST(DEFINE_VISIT)
#undef DEFINE_VISIT
- void VisitStatements(ZoneList<Statement*>* statements);
- void VisitDeclarations(ZoneList<Declaration*>* declarations);
+ void VisitStatements(ZoneList<Statement*>* statements) OVERRIDE;
+ void VisitDeclarations(ZoneList<Declaration*>* declarations) OVERRIDE;
void VisitArguments(ZoneList<Expression*>* arguments);
void VisitObjectLiteralProperty(ObjectLiteralProperty* property);

Powered by Google App Engine
This is Rietveld 408576698