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
5e37bbf9
Commit
5e37bbf9
authored
Oct 16, 2018
by
Adam Cozzette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unnecessary includes from stubs/common.h
parent
c7352b39
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
30 additions
and
10 deletions
+30
-10
python_generator.h
src/google/protobuf/compiler/python/python_generator.h
+1
-0
bytestream.cc
src/google/protobuf/stubs/bytestream.cc
+2
-0
common.cc
src/google/protobuf/stubs/common.cc
+10
-5
common.h
src/google/protobuf/stubs/common.h
+0
-5
common_unittest.cc
src/google/protobuf/stubs/common_unittest.cc
+2
-0
int128.cc
src/google/protobuf/stubs/int128.cc
+2
-0
statusor.cc
src/google/protobuf/stubs/statusor.cc
+2
-0
stringpiece.cc
src/google/protobuf/stubs/stringpiece.cc
+2
-0
stringprintf.cc
src/google/protobuf/stubs/stringprintf.cc
+2
-0
strutil.cc
src/google/protobuf/stubs/strutil.cc
+1
-0
substitute.cc
src/google/protobuf/stubs/substitute.cc
+2
-0
file.cc
src/google/protobuf/testing/file.cc
+1
-0
googletest.h
src/google/protobuf/testing/googletest.h
+1
-0
datapiece.h
src/google/protobuf/util/internal/datapiece.h
+1
-0
field_mask_utility.h
src/google/protobuf/util/internal/field_mask_utility.h
+1
-0
No files found.
src/google/protobuf/compiler/python/python_generator.h
View file @
5e37bbf9
...
...
@@ -38,6 +38,7 @@
#include <string>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/port_def.inc>
...
...
src/google/protobuf/stubs/bytestream.cc
View file @
5e37bbf9
...
...
@@ -33,6 +33,8 @@
#include <string.h>
#include <algorithm>
#include <google/protobuf/stubs/logging.h>
namespace
google
{
namespace
protobuf
{
namespace
strings
{
...
...
src/google/protobuf/stubs/common.cc
View file @
5e37bbf9
...
...
@@ -31,11 +31,7 @@
// Author: kenton@google.com (Kenton Varda)
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/stubs/status.h>
#include <google/protobuf/stubs/stringpiece.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/int128.h>
#include <errno.h>
#include <sstream>
#include <stdio.h>
...
...
@@ -54,6 +50,15 @@
#include <android/log.h>
#endif
#include <google/protobuf/stubs/callback.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/stubs/status.h>
#include <google/protobuf/stubs/stringpiece.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/int128.h>
#include <google/protobuf/port_def.inc>
namespace
google
{
...
...
src/google/protobuf/stubs/common.h
View file @
5e37bbf9
...
...
@@ -47,11 +47,6 @@
#include <google/protobuf/stubs/macros.h>
#include <google/protobuf/stubs/platform_macros.h>
// TODO(liujisi): Remove the following includes after the include clean-up.
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/mutex.h>
#include <google/protobuf/stubs/callback.h>
#ifndef PROTOBUF_USE_EXCEPTIONS
#if defined(_MSC_VER) && defined(_CPPUNWIND)
#define PROTOBUF_USE_EXCEPTIONS 1
...
...
src/google/protobuf/stubs/common_unittest.cc
View file @
5e37bbf9
...
...
@@ -31,8 +31,10 @@
// Author: kenton@google.com (Kenton Varda)
#include <vector>
#include <google/protobuf/stubs/callback.h>
#include <google/protobuf/stubs/casts.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/substitute.h>
...
...
src/google/protobuf/stubs/int128.cc
View file @
5e37bbf9
...
...
@@ -34,6 +34,8 @@
#include <ostream> // NOLINT(readability/streams)
#include <sstream>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/port_def.inc>
namespace
google
{
...
...
src/google/protobuf/stubs/statusor.cc
View file @
5e37bbf9
...
...
@@ -30,6 +30,8 @@
#include <google/protobuf/stubs/statusor.h>
#include <google/protobuf/stubs/logging.h>
namespace
google
{
namespace
protobuf
{
namespace
util
{
...
...
src/google/protobuf/stubs/stringpiece.cc
View file @
5e37bbf9
...
...
@@ -35,6 +35,8 @@
#include <string>
#include <ostream>
#include <google/protobuf/stubs/logging.h>
namespace
google
{
namespace
protobuf
{
std
::
ostream
&
operator
<<
(
std
::
ostream
&
o
,
StringPiece
piece
)
{
...
...
src/google/protobuf/stubs/stringprintf.cc
View file @
5e37bbf9
...
...
@@ -36,7 +36,9 @@
#include <stdarg.h> // For va_list and related operations
#include <stdio.h> // MSVC requires this for _vsnprintf
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
namespace
google
{
namespace
protobuf
{
...
...
src/google/protobuf/stubs/strutil.cc
View file @
5e37bbf9
...
...
@@ -40,6 +40,7 @@
#include <iterator>
#include <limits>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/stl_util.h>
#ifdef _WIN32
...
...
src/google/protobuf/stubs/substitute.cc
View file @
5e37bbf9
...
...
@@ -31,6 +31,8 @@
// Author: kenton@google.com (Kenton Varda)
#include <google/protobuf/stubs/substitute.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/strutil.h>
#include <google/protobuf/stubs/stl_util.h>
...
...
src/google/protobuf/testing/file.cc
View file @
5e37bbf9
...
...
@@ -46,6 +46,7 @@
#include <errno.h>
#include <google/protobuf/stubs/io_win32.h>
#include <google/protobuf/stubs/logging.h>
namespace
google
{
namespace
protobuf
{
...
...
src/google/protobuf/testing/googletest.h
View file @
5e37bbf9
...
...
@@ -37,6 +37,7 @@
#include <map>
#include <vector>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <gmock/gmock.h>
// Disable death tests if we use exceptions in CHECK().
#if !PROTOBUF_USE_EXCEPTIONS && defined(GTEST_HAS_DEATH_TEST) && \
...
...
src/google/protobuf/util/internal/datapiece.h
View file @
5e37bbf9
...
...
@@ -34,6 +34,7 @@
#include <string>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/logging.h>
#include <google/protobuf/stubs/stringpiece.h>
#include <google/protobuf/stubs/statusor.h>
...
...
src/google/protobuf/util/internal/field_mask_utility.h
View file @
5e37bbf9
...
...
@@ -36,6 +36,7 @@
#include <functional>
#include <stack>
#include <google/protobuf/stubs/callback.h>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/stringpiece.h>
#include <google/protobuf/stubs/status.h>
...
...
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