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

Side by Side Diff: src/flags.h

Issue 333013002: Check alpha-sorting of includes during presubmit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/field-index.h ('k') | src/flags.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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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_FLAGS_H_ 5 #ifndef V8_FLAGS_H_
6 #define V8_FLAGS_H_ 6 #define V8_FLAGS_H_
7 7
8 #include "src/globals.h" 8 #include "src/globals.h"
9 9
10 namespace v8 { 10 namespace v8 {
11 namespace internal { 11 namespace internal {
12 12
13 // Declare all of our flags. 13 // Declare all of our flags.
14 #define FLAG_MODE_DECLARE 14 #define FLAG_MODE_DECLARE
15 #include "src/flag-definitions.h" 15 #include "src/flag-definitions.h" // NOLINT
16 16
17 // The global list of all flags. 17 // The global list of all flags.
18 class FlagList { 18 class FlagList {
19 public: 19 public:
20 // The list of all flags with a value different from the default 20 // The list of all flags with a value different from the default
21 // and their values. The format of the list is like the format of the 21 // and their values. The format of the list is like the format of the
22 // argv array passed to the main function, e.g. 22 // argv array passed to the main function, e.g.
23 // ("--prof", "--log-file", "v8.prof", "--nolazy"). 23 // ("--prof", "--log-file", "v8.prof", "--nolazy").
24 // 24 //
25 // The caller is responsible for disposing the list, as well 25 // The caller is responsible for disposing the list, as well
(...skipping 29 matching lines...) Expand all
55 // Print help to stdout with flags, types, and default values. 55 // Print help to stdout with flags, types, and default values.
56 static void PrintHelp(); 56 static void PrintHelp();
57 57
58 // Set flags as consequence of being implied by another flag. 58 // Set flags as consequence of being implied by another flag.
59 static void EnforceFlagImplications(); 59 static void EnforceFlagImplications();
60 }; 60 };
61 61
62 } } // namespace v8::internal 62 } } // namespace v8::internal
63 63
64 #endif // V8_FLAGS_H_ 64 #endif // V8_FLAGS_H_
OLDNEW
« no previous file with comments | « src/field-index.h ('k') | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698