diff options
author | Abseil Team <absl-team@google.com> | 2022-01-18 16:10:36 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-01-18 16:11:11 (GMT) |
commit | 100f6fbf5f81a82d163c1e29735e8a2936eacd4f (patch) | |
tree | ce5c271efbc05d6e968eb7fd712004dc685cfc43 /googlemock/include/gmock/gmock-nice-strict.h | |
parent | c9643a2e45ed0cb18b8409c62994be7c6e66dc1b (diff) | |
download | googletest-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 'googlemock/include/gmock/gmock-nice-strict.h')
-rw-r--r-- | googlemock/include/gmock/gmock-nice-strict.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/googlemock/include/gmock/gmock-nice-strict.h b/googlemock/include/gmock/gmock-nice-strict.h index 101e0d7..f421dea 100644 --- a/googlemock/include/gmock/gmock-nice-strict.h +++ b/googlemock/include/gmock/gmock-nice-strict.h @@ -27,7 +27,6 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - // Implements class templates NiceMock, NaggyMock, and StrictMock. // // Given a mock class MockFoo that is created using Google Mock, @@ -58,6 +57,9 @@ // In particular, nesting NiceMock, NaggyMock, and StrictMock is NOT // supported. +// IWYU pragma: private, include "gmock/gmock.h" +// IWYU pragma: friend gmock/.* + #ifndef GOOGLEMOCK_INCLUDE_GMOCK_GMOCK_NICE_STRICT_H_ #define GOOGLEMOCK_INCLUDE_GMOCK_GMOCK_NICE_STRICT_H_ |