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
b652edb3
Commit
b652edb3
authored
Oct 09, 2018
by
Abseil Team
Committed by
Gennadiy Civil
Oct 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply [[noreturn]] to Abort()
PiperOrigin-RevId: 216383938
parent
7a1e9114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+3
-3
No files found.
googletest/include/gtest/internal/gtest-port.h
View file @
b652edb3
...
...
@@ -723,7 +723,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION;
# endif // GTEST_TUPLE_NAMESPACE_
# if GTEST_USE_OWN_TR1_TUPLE
# include "gtest/internal/gtest-tuple.h" // IWYU pragma: export // NOLINT
# include "
third_party/googletest/googletest/include/
gtest/internal/gtest-tuple.h" // IWYU pragma: export // NOLINT
# elif GTEST_OS_SYMBIAN
// On Symbian, BOOST_HAS_TR1_TUPLE causes Boost's TR1 tuple library to
...
...
@@ -2540,9 +2540,9 @@ GTEST_DISABLE_MSC_DEPRECATED_POP_()
// Windows CE has no C library. The abort() function is used in
// several places in Google Test. This implementation provides a reasonable
// imitation of standard behaviour.
void
Abort
();
[[
noreturn
]]
void
Abort
();
#else
inline
void
Abort
()
{
abort
();
}
[[
noreturn
]]
inline
void
Abort
()
{
abort
();
}
#endif // GTEST_OS_WINDOWS_MOBILE
}
// namespace posix
...
...
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