summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-10-09 17:51:29 (GMT)
committerGennadiy Civil <misterg@google.com>2018-10-09 20:25:44 (GMT)
commitb652edb39c7e9d25640adc428707244b83902aaf (patch)
tree3bcd77e8d4f68cfc6ae36f5f22a5a43fa9a2b7e0 /googletest/include/gtest/internal
parent7a1e9114a4751b209d88ee6baca0eb75bdb094fc (diff)
downloadgoogletest-b652edb39c7e9d25640adc428707244b83902aaf.zip
googletest-b652edb39c7e9d25640adc428707244b83902aaf.tar.gz
googletest-b652edb39c7e9d25640adc428707244b83902aaf.tar.bz2
Apply [[noreturn]] to Abort()
PiperOrigin-RevId: 216383938
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h
index ad56d07..1e40811 100644
--- a/googletest/include/gtest/internal/gtest-port.h
+++ b/googletest/include/gtest/internal/gtest-port.h
@@ -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