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

Unified Diff: src/ast-value-factory.h

Issue 1088993003: Replace OVERRIDE->override and FINAL->final since we now require C++11. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/ast-numbering.cc ('k') | src/ast-value-factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast-value-factory.h
diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
index c9fd8121588c3ac39b1b53959f3b816372b947b0..6570db26ffa88cb4f3fc50cd5ec34870830cd6b0 100644
--- a/src/ast-value-factory.h
+++ b/src/ast-value-factory.h
@@ -64,7 +64,7 @@ class AstString : public ZoneObject {
class AstRawString : public AstString {
public:
- int length() const OVERRIDE {
+ int length() const override {
if (is_one_byte_)
return literal_bytes_.length();
return literal_bytes_.length() / 2;
@@ -72,7 +72,7 @@ class AstRawString : public AstString {
int byte_length() const { return literal_bytes_.length(); }
- void Internalize(Isolate* isolate) OVERRIDE;
+ void Internalize(Isolate* isolate) override;
bool AsArrayIndex(uint32_t* index) const;
@@ -121,9 +121,9 @@ class AstConsString : public AstString {
: left_(left),
right_(right) {}
- int length() const OVERRIDE { return left_->length() + right_->length(); }
+ int length() const override { return left_->length() + right_->length(); }
- void Internalize(Isolate* isolate) OVERRIDE;
+ void Internalize(Isolate* isolate) override;
private:
friend class AstValueFactory;
« no previous file with comments | « src/ast-numbering.cc ('k') | src/ast-value-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698