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

Side by Side Diff: src/regexp/bytecodes-irregexp.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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 5
6 #ifndef V8_REGEXP_BYTECODES_IRREGEXP_H_ 6 #ifndef V8_REGEXP_BYTECODES_IRREGEXP_H_
7 #define V8_REGEXP_BYTECODES_IRREGEXP_H_ 7 #define V8_REGEXP_BYTECODES_IRREGEXP_H_
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 #define DECLARE_BYTECODES(name, code, length) \ 70 #define DECLARE_BYTECODES(name, code, length) \
71 static const int BC_##name = code; 71 static const int BC_##name = code;
72 BYTECODE_ITERATOR(DECLARE_BYTECODES) 72 BYTECODE_ITERATOR(DECLARE_BYTECODES)
73 #undef DECLARE_BYTECODES 73 #undef DECLARE_BYTECODES
74 74
75 #define DECLARE_BYTECODE_LENGTH(name, code, length) \ 75 #define DECLARE_BYTECODE_LENGTH(name, code, length) \
76 static const int BC_##name##_LENGTH = length; 76 static const int BC_##name##_LENGTH = length;
77 BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH) 77 BYTECODE_ITERATOR(DECLARE_BYTECODE_LENGTH)
78 #undef DECLARE_BYTECODE_LENGTH 78 #undef DECLARE_BYTECODE_LENGTH
79 } } 79
80 } // namespace internal
81 } // namespace v8
80 82
81 #endif // V8_REGEXP_BYTECODES_IRREGEXP_H_ 83 #endif // V8_REGEXP_BYTECODES_IRREGEXP_H_
OLDNEW
« no previous file with comments | « src/regexp/arm64/regexp-macro-assembler-arm64.h ('k') | src/regexp/ia32/regexp-macro-assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698