summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-filepath.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-filepath.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-filepath.h')
-rw-r--r--googletest/include/gtest/internal/gtest-filepath.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/googletest/include/gtest/internal/gtest-filepath.h b/googletest/include/gtest/internal/gtest-filepath.h
index 43f47dc..4dfe2e2 100644
--- a/googletest/include/gtest/internal/gtest-filepath.h
+++ b/googletest/include/gtest/internal/gtest-filepath.h
@@ -26,7 +26,7 @@
// 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.
-//
+
// Google Test filepath utilities
//
// This header file declares classes and functions used internally by
@@ -35,6 +35,10 @@
// This file is #included in gtest/internal/gtest-internal.h.
// Do not include this header file separately!
+// IWYU pragma: private, include "gtest/gtest.h"
+// IWYU pragma: friend gtest/.*
+// IWYU pragma: friend gmock/.*
+
#ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_
#define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_