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
a4f68d47
Unverified
Commit
a4f68d47
authored
Dec 13, 2017
by
Feng Xiao
Committed by
GitHub
Dec 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4044 from xfxyjwf/issue3268
Avoid double underscores in macro name
parents
00ac5c1a
b3ac4417
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
39 additions
and
39 deletions
+39
-39
any.pb.h
src/google/protobuf/any.pb.h
+3
-3
api.pb.h
src/google/protobuf/api.pb.h
+3
-3
cpp_file.cc
src/google/protobuf/compiler/cpp/cpp_file.cc
+3
-3
plugin.pb.h
src/google/protobuf/compiler/plugin.pb.h
+3
-3
descriptor.pb.h
src/google/protobuf/descriptor.pb.h
+3
-3
duration.pb.h
src/google/protobuf/duration.pb.h
+3
-3
empty.pb.h
src/google/protobuf/empty.pb.h
+3
-3
field_mask.pb.h
src/google/protobuf/field_mask.pb.h
+3
-3
source_context.pb.h
src/google/protobuf/source_context.pb.h
+3
-3
struct.pb.h
src/google/protobuf/struct.pb.h
+3
-3
timestamp.pb.h
src/google/protobuf/timestamp.pb.h
+3
-3
type.pb.h
src/google/protobuf/type.pb.h
+3
-3
wrappers.pb.h
src/google/protobuf/wrappers.pb.h
+3
-3
No files found.
src/google/protobuf/any.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/any.proto
#ifndef PROTOBUF_google_2fprotobuf_2fany_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fany_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fany_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fany_2eproto_INCLUDED
#include <string>
...
...
@@ -329,4 +329,4 @@ inline void Any::set_allocated_value(::std::string* value) {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fany_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fany_2eproto_INCLUDED
src/google/protobuf/api.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/api.proto
#ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fapi_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fapi_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fapi_2eproto_INCLUDED
#include <string>
...
...
@@ -1182,4 +1182,4 @@ inline void Mixin::set_allocated_root(::std::string* root) {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fapi_2eproto_INCLUDED
src/google/protobuf/compiler/cpp/cpp_file.cc
View file @
a4f68d47
...
...
@@ -1145,8 +1145,8 @@ void FileGenerator::GenerateTopHeaderGuard(io::Printer* printer,
"// Generated by the protocol buffer compiler. DO NOT EDIT!
\n
"
"// source: $filename$
\n
"
"
\n
"
"#ifndef PROTOBUF_$filename_identifier$_
_
INCLUDED
\n
"
"#define PROTOBUF_$filename_identifier$_
_
INCLUDED
\n
"
"#ifndef PROTOBUF_$filename_identifier$_INCLUDED
\n
"
"#define PROTOBUF_$filename_identifier$_INCLUDED
\n
"
"
\n
"
"#include <string>
\n
"
,
"filename"
,
file_
->
name
(),
"filename_identifier"
,
filename_identifier
);
...
...
@@ -1156,7 +1156,7 @@ void FileGenerator::GenerateTopHeaderGuard(io::Printer* printer,
void
FileGenerator
::
GenerateBottomHeaderGuard
(
io
::
Printer
*
printer
,
const
string
&
filename_identifier
)
{
printer
->
Print
(
"#endif // PROTOBUF_$filename_identifier$_
_
INCLUDED
\n
"
,
"#endif // PROTOBUF_$filename_identifier$_INCLUDED
\n
"
,
"filename_identifier"
,
filename_identifier
);
}
...
...
src/google/protobuf/compiler/plugin.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/compiler/plugin.proto
#ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_INCLUDED
#include <string>
...
...
@@ -1383,4 +1383,4 @@ CodeGeneratorResponse::file() const {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fcompiler_2fplugin_2eproto_INCLUDED
src/google/protobuf/descriptor.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/descriptor.proto
#ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_INCLUDED
#include <string>
...
...
@@ -11613,4 +11613,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::MethodOption
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto_INCLUDED
src/google/protobuf/duration.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/duration.proto
#ifndef PROTOBUF_google_2fprotobuf_2fduration_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fduration_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fduration_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fduration_2eproto_INCLUDED
#include <string>
...
...
@@ -238,4 +238,4 @@ inline void Duration::set_nanos(::google::protobuf::int32 value) {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fduration_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fduration_2eproto_INCLUDED
src/google/protobuf/empty.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/empty.proto
#ifndef PROTOBUF_google_2fprotobuf_2fempty_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fempty_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fempty_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fempty_2eproto_INCLUDED
#include <string>
...
...
@@ -196,4 +196,4 @@ class LIBPROTOBUF_EXPORT Empty : public ::google::protobuf::Message /* @@protoc_
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fempty_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fempty_2eproto_INCLUDED
src/google/protobuf/field_mask.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/field_mask.proto
#ifndef PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_INCLUDED
#include <string>
...
...
@@ -273,4 +273,4 @@ FieldMask::mutable_paths() {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2ffield_5fmask_2eproto_INCLUDED
src/google/protobuf/source_context.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/source_context.proto
#ifndef PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_INCLUDED
#include <string>
...
...
@@ -249,4 +249,4 @@ inline void SourceContext::set_allocated_file_name(::std::string* file_name) {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fsource_5fcontext_2eproto_INCLUDED
src/google/protobuf/struct.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/struct.proto
#ifndef PROTOBUF_google_2fprotobuf_2fstruct_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fstruct_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fstruct_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fstruct_2eproto_INCLUDED
#include <string>
...
...
@@ -1039,4 +1039,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::NullValue>()
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fstruct_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fstruct_2eproto_INCLUDED
src/google/protobuf/timestamp.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/timestamp.proto
#ifndef PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_INCLUDED
#include <string>
...
...
@@ -238,4 +238,4 @@ inline void Timestamp::set_nanos(::google::protobuf::int32 value) {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2ftimestamp_2eproto_INCLUDED
src/google/protobuf/type.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
#ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2ftype_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2ftype_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2ftype_2eproto_INCLUDED
#include <string>
...
...
@@ -2403,4 +2403,4 @@ inline const EnumDescriptor* GetEnumDescriptor< ::google::protobuf::Syntax>() {
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2ftype_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2ftype_2eproto_INCLUDED
src/google/protobuf/wrappers.pb.h
View file @
a4f68d47
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/wrappers.proto
#ifndef PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_
_
INCLUDED
#define PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_
_
INCLUDED
#ifndef PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_INCLUDED
#define PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_INCLUDED
#include <string>
...
...
@@ -1533,4 +1533,4 @@ inline void BytesValue::unsafe_arena_set_allocated_value(
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_
_
INCLUDED
#endif // PROTOBUF_google_2fprotobuf_2fwrappers_2eproto_INCLUDED
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