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

Side by Side Diff: src/version.cc

Issue 115756: Split nested namespaces declaration in two lines in accordance with C++ Style Guide. (Closed)
Patch Set: Created 11 years, 7 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 2008 the V8 project authors. All rights reserved. 1 // Copyright 2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 25 matching lines...) Expand all
36 #define MINOR_VERSION 2 36 #define MINOR_VERSION 2
37 #define BUILD_NUMBER 5 37 #define BUILD_NUMBER 5
38 #define PATCH_LEVEL 0 38 #define PATCH_LEVEL 0
39 #define CANDIDATE_VERSION true 39 #define CANDIDATE_VERSION true
40 40
41 // Define SONAME to have the SCons build the put a specific SONAME into the 41 // Define SONAME to have the SCons build the put a specific SONAME into the
42 // shared library instead the generic SONAME generated from the V8 version 42 // shared library instead the generic SONAME generated from the V8 version
43 // number. This define is mainly used by the SCons build script. 43 // number. This define is mainly used by the SCons build script.
44 #define SONAME "" 44 #define SONAME ""
45 45
46 namespace v8 { namespace internal { 46 namespace v8 {
47 namespace internal {
47 48
48 int Version::major_ = MAJOR_VERSION; 49 int Version::major_ = MAJOR_VERSION;
49 int Version::minor_ = MINOR_VERSION; 50 int Version::minor_ = MINOR_VERSION;
50 int Version::build_ = BUILD_NUMBER; 51 int Version::build_ = BUILD_NUMBER;
51 int Version::patch_ = PATCH_LEVEL; 52 int Version::patch_ = PATCH_LEVEL;
52 bool Version::candidate_ = CANDIDATE_VERSION; 53 bool Version::candidate_ = CANDIDATE_VERSION;
53 const char* Version::soname_ = SONAME; 54 const char* Version::soname_ = SONAME;
54 55
55 56
56 // Calculate the V8 version string. 57 // Calculate the V8 version string.
(...skipping 21 matching lines...) Expand all
78 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so", 79 OS::SNPrintF(str, "libv8-%d.%d.%d%s.so",
79 GetMajor(), GetMinor(), GetBuild(), candidate); 80 GetMajor(), GetMinor(), GetBuild(), candidate);
80 } 81 }
81 } else { 82 } else {
82 // Use specific SONAME. 83 // Use specific SONAME.
83 OS::SNPrintF(str, "%s", soname_); 84 OS::SNPrintF(str, "%s", soname_);
84 } 85 }
85 } 86 }
86 87
87 } } // namespace v8::internal 88 } } // namespace v8::internal
OLDNEW
« src/accessors.h ('K') | « src/version.h ('k') | src/virtual-frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698