Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
8ce64c08
Commit
8ce64c08
authored
Oct 22, 2019
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2454 from kuzkry:gtest-port-clean-up_dead-function
PiperOrigin-RevId: 275838743
parents
011c4e23
0cd3fbc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
11 deletions
+5
-11
gtest-message.h
googletest/include/gtest/gtest-message.h
+1
-0
gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+4
-11
No files found.
googletest/include/gtest/gtest-message.h
View file @
8ce64c08
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
#include <limits>
#include <limits>
#include <memory>
#include <memory>
#include <sstream>
#include "gtest/internal/gtest-port.h"
#include "gtest/internal/gtest-port.h"
...
...
googletest/include/gtest/internal/gtest-port.h
View file @
8ce64c08
...
@@ -248,7 +248,6 @@
...
@@ -248,7 +248,6 @@
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <string.h>
#include <memory>
#include <type_traits>
#include <type_traits>
#ifndef _WIN32_WCE
#ifndef _WIN32_WCE
...
@@ -261,16 +260,14 @@
...
@@ -261,16 +260,14 @@
# include <TargetConditionals.h>
# include <TargetConditionals.h>
#endif
#endif
#include <algorithm> // NOLINT
#include <iostream> // NOLINT
#include <iostream> // NOLINT
#include <memory>
#include <sstream> // NOLINT
#include <string> // NOLINT
#include <string> // NOLINT
#include <tuple>
#include <tuple>
#include <utility>
#include <vector> // NOLINT
#include <vector> // NOLINT
#include "gtest/internal/gtest-port-arch.h"
#include "gtest/internal/custom/gtest-port.h"
#include "gtest/internal/custom/gtest-port.h"
#include "gtest/internal/gtest-port-arch.h"
#if !defined(GTEST_DEV_EMAIL_)
#if !defined(GTEST_DEV_EMAIL_)
# define GTEST_DEV_EMAIL_ "googletestframework@@googlegroups.com"
# define GTEST_DEV_EMAIL_ "googletestframework@@googlegroups.com"
...
@@ -2004,10 +2001,6 @@ inline bool IsDir(const StatStruct& st) { return S_ISDIR(st.st_mode); }
...
@@ -2004,10 +2001,6 @@ inline bool IsDir(const StatStruct& st) { return S_ISDIR(st.st_mode); }
GTEST_DISABLE_MSC_DEPRECATED_PUSH_
()
GTEST_DISABLE_MSC_DEPRECATED_PUSH_
()
inline
const
char
*
StrNCpy
(
char
*
dest
,
const
char
*
src
,
size_t
n
)
{
return
strncpy
(
dest
,
src
,
n
);
}
// ChDir(), FReopen(), FDOpen(), Read(), Write(), Close(), and
// ChDir(), FReopen(), FDOpen(), Read(), Write(), Close(), and
// StrError() aren't needed on Windows CE at this time and thus not
// StrError() aren't needed on Windows CE at this time and thus not
// defined there.
// defined there.
...
...
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