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

Side by Side Diff: src/char-predicates.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/cached-powers.h ('k') | src/char-predicates-inl.h » ('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 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 #ifndef V8_CHAR_PREDICATES_H_ 5 #ifndef V8_CHAR_PREDICATES_H_
6 #define V8_CHAR_PREDICATES_H_ 6 #define V8_CHAR_PREDICATES_H_
7 7
8 #include "src/unicode.h" 8 #include "src/unicode.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 73
74 // WhiteSpace and LineTerminator according to ES6 draft section 11.2 and 11.3 74 // WhiteSpace and LineTerminator according to ES6 draft section 11.2 and 11.3
75 // This consists of \000a, \000d, \u2028, and \u2029. 75 // This consists of \000a, \000d, \u2028, and \u2029.
76 struct WhiteSpaceOrLineTerminator { 76 struct WhiteSpaceOrLineTerminator {
77 static inline bool Is(uc32 c) { 77 static inline bool Is(uc32 c) {
78 return WhiteSpace::Is(c) || unibrow::LineTerminator::Is(c); 78 return WhiteSpace::Is(c) || unibrow::LineTerminator::Is(c);
79 } 79 }
80 }; 80 };
81 81
82 } } // namespace v8::internal 82 } // namespace internal
83 } // namespace v8
83 84
84 #endif // V8_CHAR_PREDICATES_H_ 85 #endif // V8_CHAR_PREDICATES_H_
OLDNEW
« no previous file with comments | « src/cached-powers.h ('k') | src/char-predicates-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698