summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-death-test-internal.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/internal/gtest-death-test-internal.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/internal/gtest-death-test-internal.h')
-rw-r--r--googletest/include/gtest/internal/gtest-death-test-internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-death-test-internal.h b/googletest/include/gtest/internal/gtest-death-test-internal.h
index 8e0023a..128e0f4 100644
--- a/googletest/include/gtest/internal/gtest-death-test-internal.h
+++ b/googletest/include/gtest/internal/gtest-death-test-internal.h
@@ -26,12 +26,16 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (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 internal utilities needed for implementing
// death tests. They are subject to change without notice.
+// IWYU pragma: private, include "gtest/gtest.h"
+// IWYU pragma: friend gtest/.*
+// IWYU pragma: friend gmock/.*
+
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_DEATH_TEST_INTERNAL_H_