summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest-death-test.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2022-01-18 16:10:36 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-01-18 16:11:11 (GMT)
commit100f6fbf5f81a82d163c1e29735e8a2936eacd4f (patch)
treece5c271efbc05d6e968eb7fd712004dc685cfc43 /googletest/include/gtest/gtest-death-test.h
parentc9643a2e45ed0cb18b8409c62994be7c6e66dc1b (diff)
downloadgoogletest-100f6fbf5f81a82d163c1e29735e8a2936eacd4f.zip
googletest-100f6fbf5f81a82d163c1e29735e8a2936eacd4f.tar.gz
googletest-100f6fbf5f81a82d163c1e29735e8a2936eacd4f.tar.bz2
Consistently apply IWYU pragmas across googletest and googlemock headers
PiperOrigin-RevId: 422559250 Change-Id: I9f630f2186724950e5e9fbd7093d5264e8bf0a71
Diffstat (limited to 'googletest/include/gtest/gtest-death-test.h')
-rw-r--r--googletest/include/gtest/gtest-death-test.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/googletest/include/gtest/gtest-death-test.h b/googletest/include/gtest/gtest-death-test.h
index 33effe1..cd34e1f 100644
--- a/googletest/include/gtest/gtest-death-test.h
+++ b/googletest/include/gtest/gtest-death-test.h
@@ -27,13 +27,16 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-//
// The Google C++ Testing and Mocking Framework (Google Test)
//
// This header file defines the public API for death tests. It is
// #included by gtest.h so a user doesn't need to include this
// directly.
+// IWYU pragma: private, include "gtest/gtest.h"
+// IWYU pragma: friend gtest/.*
+// IWYU pragma: friend gmock/.*
+
#ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_
#define GOOGLETEST_INCLUDE_GTEST_GTEST_DEATH_TEST_H_