Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 7c6054edad8597e05bd21d213bb810c6c14ed9f0..5038716003e80125c1ff1fd1b3709443a0a3ea63 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -789,12 +789,12 @@ bool RegExpCapture::IsAnchoredAtEnd() { |
// in as many cases as possible, to make it more difficult for incorrect |
// parses to look as correct ones which is likely if the input and |
// output formats are alike. |
-class RegExpUnparser FINAL : public RegExpVisitor { |
+class RegExpUnparser final : public RegExpVisitor { |
public: |
RegExpUnparser(std::ostream& os, Zone* zone) : os_(os), zone_(zone) {} |
void VisitCharacterRange(CharacterRange that); |
-#define MAKE_CASE(Name) virtual void* Visit##Name(RegExp##Name*, \ |
- void* data) OVERRIDE; |
+#define MAKE_CASE(Name) \ |
+ virtual void* Visit##Name(RegExp##Name*, void* data) override; |
FOR_EACH_REG_EXP_TREE_TYPE(MAKE_CASE) |
#undef MAKE_CASE |
private: |