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

Side by Side Diff: src/preparser.h

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_PREPARSER_H 5 #ifndef V8_PREPARSER_H
6 #define V8_PREPARSER_H 6 #define V8_PREPARSER_H
7 7
8 #include "src/bailout-reason.h" 8 #include "src/bailout-reason.h"
9 #include "src/expression-classifier.h" 9 #include "src/expression-classifier.h"
10 #include "src/func-name-inferrer.h" 10 #include "src/func-name-inferrer.h"
(...skipping 4165 matching lines...) Expand 10 before | Expand all | Expand 10 after
4176 } 4176 }
4177 if (has_seen_constructor_) { 4177 if (has_seen_constructor_) {
4178 this->parser()->ReportMessage(MessageTemplate::kDuplicateConstructor); 4178 this->parser()->ReportMessage(MessageTemplate::kDuplicateConstructor);
4179 *ok = false; 4179 *ok = false;
4180 return; 4180 return;
4181 } 4181 }
4182 has_seen_constructor_ = true; 4182 has_seen_constructor_ = true;
4183 return; 4183 return;
4184 } 4184 }
4185 } 4185 }
4186 } } // v8::internal 4186 } // namespace internal
4187 } // namespace v8
4187 4188
4188 #endif // V8_PREPARSER_H 4189 #endif // V8_PREPARSER_H
OLDNEW
« src/objects.h ('K') | « src/preparse-data-format.h ('k') | src/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698