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

Side by Side Diff: src/ast-literal-reindexer.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased. Created 5 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 unified diff | Download patch
« no previous file with comments | « src/ast-expression-visitor.cc ('k') | src/ast-literal-reindexer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_AST_LITERAL_REINDEXER 5 #ifndef V8_AST_LITERAL_REINDEXER
6 #define V8_AST_LITERAL_REINDEXER 6 #define V8_AST_LITERAL_REINDEXER
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/scopes.h" 9 #include "src/scopes.h"
10 10
(...skipping 21 matching lines...) Expand all
32 void UpdateIndex(MaterializedLiteral* literal) { 32 void UpdateIndex(MaterializedLiteral* literal) {
33 literal->literal_index_ = next_index_++; 33 literal->literal_index_ = next_index_++;
34 } 34 }
35 35
36 void Visit(AstNode* node) override { node->Accept(this); } 36 void Visit(AstNode* node) override { node->Accept(this); }
37 37
38 int next_index_; 38 int next_index_;
39 39
40 DISALLOW_COPY_AND_ASSIGN(AstLiteralReindexer); 40 DISALLOW_COPY_AND_ASSIGN(AstLiteralReindexer);
41 }; 41 };
42 } 42 } // namespace internal
43 } // namespace v8::internal 43 } // namespace v8
44 44
45 #endif // V8_AST_LITERAL_REINDEXER 45 #endif // V8_AST_LITERAL_REINDEXER
OLDNEW
« no previous file with comments | « src/ast-expression-visitor.cc ('k') | src/ast-literal-reindexer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698