Index: src/ast-numbering.cc |
diff --git a/src/ast-numbering.cc b/src/ast-numbering.cc |
index 1d5420990fc8d150f1999d9cc8607653afdc7037..f43166e186247d0d29be7f3e60d1a71af8960420 100644 |
--- a/src/ast-numbering.cc |
+++ b/src/ast-numbering.cc |
@@ -12,7 +12,7 @@ namespace v8 { |
namespace internal { |
-class AstNumberingVisitor FINAL : public AstVisitor { |
+class AstNumberingVisitor final : public AstVisitor { |
public: |
explicit AstNumberingVisitor(Isolate* isolate, Zone* zone) |
: AstVisitor(), |
@@ -27,14 +27,14 @@ class AstNumberingVisitor FINAL : public AstVisitor { |
private: |
// AST node visitor interface. |
-#define DEFINE_VISIT(type) virtual void Visit##type(type* node) OVERRIDE; |
+#define DEFINE_VISIT(type) virtual void Visit##type(type* node) override; |
AST_NODE_LIST(DEFINE_VISIT) |
#undef DEFINE_VISIT |
bool Finish(FunctionLiteral* node); |
- void VisitStatements(ZoneList<Statement*>* statements) OVERRIDE; |
- void VisitDeclarations(ZoneList<Declaration*>* declarations) OVERRIDE; |
+ void VisitStatements(ZoneList<Statement*>* statements) override; |
+ void VisitDeclarations(ZoneList<Declaration*>* declarations) override; |
void VisitArguments(ZoneList<Expression*>* arguments); |
void VisitObjectLiteralProperty(ObjectLiteralProperty* property); |