Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
bf04c832
Commit
bf04c832
authored
May 19, 2017
by
Feng Xiao
Committed by
GitHub
May 19, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3085 from scpeters/issue_3059
Use bool deterministic to suppress warning
parents
49a56da9
969e0bec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
34 additions
and
0 deletions
+34
-0
any.pb.cc
src/google/protobuf/any.pb.cc
+1
-0
api.pb.cc
src/google/protobuf/api.pb.cc
+3
-0
cpp_message.cc
src/google/protobuf/compiler/cpp/cpp_message.cc
+1
-0
plugin.pb.cc
src/google/protobuf/compiler/plugin.pb.cc
+4
-0
profile.pb.cc
src/google/protobuf/compiler/profile.pb.cc
+3
-0
descriptor.pb.cc
src/google/protobuf/descriptor.pb.cc
+0
-0
duration.pb.cc
src/google/protobuf/duration.pb.cc
+1
-0
empty.pb.cc
src/google/protobuf/empty.pb.cc
+1
-0
field_mask.pb.cc
src/google/protobuf/field_mask.pb.cc
+1
-0
source_context.pb.cc
src/google/protobuf/source_context.pb.cc
+1
-0
struct.pb.cc
src/google/protobuf/struct.pb.cc
+3
-0
timestamp.pb.cc
src/google/protobuf/timestamp.pb.cc
+1
-0
type.pb.cc
src/google/protobuf/type.pb.cc
+5
-0
wrappers.pb.cc
src/google/protobuf/wrappers.pb.cc
+9
-0
No files found.
src/google/protobuf/any.pb.cc
View file @
bf04c832
...
...
@@ -309,6 +309,7 @@ void Any::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Any
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Any)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/api.pb.cc
View file @
bf04c832
...
...
@@ -482,6 +482,7 @@ void Api::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Api
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Api)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1244,6 +1245,7 @@ void Method::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Method
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Method)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1857,6 +1859,7 @@ void Mixin::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Mixin
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Mixin)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/compiler/cpp/cpp_message.cc
View file @
bf04c832
...
...
@@ -3715,6 +3715,7 @@ GenerateSerializeWithCachedSizesToArray(io::Printer* printer) {
"classname"
,
classname_
);
printer
->
Indent
();
printer
->
Print
(
"(void)deterministic; // Unused
\n
"
);
printer
->
Print
(
"// @@protoc_insertion_point(serialize_to_array_start:$full_name$)
\n
"
,
"full_name"
,
descriptor_
->
full_name
());
...
...
src/google/protobuf/compiler/plugin.pb.cc
View file @
bf04c832
...
...
@@ -428,6 +428,7 @@ void Version::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Version
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.Version)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -964,6 +965,7 @@ void CodeGeneratorRequest::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorRequest
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorRequest)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1573,6 +1575,7 @@ void CodeGeneratorResponse_File::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorResponse_File
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse.File)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -2096,6 +2099,7 @@ void CodeGeneratorResponse::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
CodeGeneratorResponse
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.CodeGeneratorResponse)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/compiler/profile.pb.cc
View file @
bf04c832
...
...
@@ -394,6 +394,7 @@ void FieldAccessInfo::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FieldAccessInfo
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.FieldAccessInfo)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -889,6 +890,7 @@ void MessageAccessInfo::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
MessageAccessInfo
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.MessageAccessInfo)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1293,6 +1295,7 @@ void AccessInfo::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
AccessInfo
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.compiler.AccessInfo)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/descriptor.pb.cc
View file @
bf04c832
This diff is collapsed.
Click to expand it.
src/google/protobuf/duration.pb.cc
View file @
bf04c832
...
...
@@ -299,6 +299,7 @@ void Duration::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Duration
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Duration)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/empty.pb.cc
View file @
bf04c832
...
...
@@ -244,6 +244,7 @@ void Empty::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Empty
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Empty)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/field_mask.pb.cc
View file @
bf04c832
...
...
@@ -264,6 +264,7 @@ void FieldMask::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FieldMask
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FieldMask)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/source_context.pb.cc
View file @
bf04c832
...
...
@@ -269,6 +269,7 @@ void SourceContext::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
SourceContext
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.SourceContext)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/struct.pb.cc
View file @
bf04c832
...
...
@@ -436,6 +436,7 @@ void Struct::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Struct
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -952,6 +953,7 @@ void Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1683,6 +1685,7 @@ void ListValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
ListValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/timestamp.pb.cc
View file @
bf04c832
...
...
@@ -299,6 +299,7 @@ void Timestamp::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Timestamp
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Timestamp)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/type.pb.cc
View file @
bf04c832
...
...
@@ -667,6 +667,7 @@ void Type::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Type
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Type)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1530,6 +1531,7 @@ void Field::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Field
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Field)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -2466,6 +2468,7 @@ void Enum::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Enum
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Enum)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -3047,6 +3050,7 @@ void EnumValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
EnumValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.EnumValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -3529,6 +3533,7 @@ void Option::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Option
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Option)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
src/google/protobuf/wrappers.pb.cc
View file @
bf04c832
...
...
@@ -392,6 +392,7 @@ void DoubleValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
DoubleValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.DoubleValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -656,6 +657,7 @@ void FloatValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
FloatValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.FloatValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -920,6 +922,7 @@ void Int64Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Int64Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int64Value)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1186,6 +1189,7 @@ void UInt64Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UInt64Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt64Value)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1452,6 +1456,7 @@ void Int32Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
Int32Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Int32Value)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1718,6 +1723,7 @@ void UInt32Value::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
UInt32Value
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.UInt32Value)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -1984,6 +1990,7 @@ void BoolValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
BoolValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BoolValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -2260,6 +2267,7 @@ void StringValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
StringValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.StringValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
@@ -2589,6 +2597,7 @@ void BytesValue::SerializeWithCachedSizes(
::
google
::
protobuf
::
uint8
*
BytesValue
::
InternalSerializeWithCachedSizesToArray
(
bool
deterministic
,
::
google
::
protobuf
::
uint8
*
target
)
const
{
(
void
)
deterministic
;
// Unused
// @@protoc_insertion_point(serialize_to_array_start:google.protobuf.BytesValue)
::
google
::
protobuf
::
uint32
cached_has_bits
=
0
;
(
void
)
cached_has_bits
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment