Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-actions.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-actions.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-actions.h @@ -33,6 +33,8 @@ // // This file implements some commonly used actions. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_ACTIONS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h @@ -35,6 +35,8 @@ // cardinalities can be defined by the user implementing the // CardinalityInterface interface if necessary. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_CARDINALITIES_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_CARDINALITIES_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h @@ -35,6 +35,8 @@ // // This file implements some commonly used variadic actions. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_ACTIONS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h @@ -37,6 +37,8 @@ // // This file implements function mockers of various arities. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_FUNCTION_MOCKERS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_FUNCTION_MOCKERS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h @@ -35,6 +35,8 @@ // // This file implements some commonly used variadic matchers. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_MATCHERS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_MATCHERS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h @@ -68,6 +68,8 @@ // cannot have arguments passed by non-const reference, which are // banned by the Google C++ style guide anyway. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_NICE_STRICT_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_GENERATED_NICE_STRICT_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-matchers.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-matchers.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-matchers.h @@ -35,6 +35,8 @@ // matchers can be defined by the user implementing the // MatcherInterface interface if necessary. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_MATCHERS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_MATCHERS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-actions.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-actions.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-actions.h @@ -33,6 +33,8 @@ // // This file implements some actions that depend on gmock-generated-actions.h. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_MORE_ACTIONS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_MORE_ACTIONS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h @@ -36,6 +36,8 @@ // Note that tests are implemented in gmock-matchers_test.cc rather than // gmock-more-matchers-test.cc. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_GMOCK_MORE_MATCHERS_H_ #define GMOCK_GMOCK_MORE_MATCHERS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h @@ -57,6 +57,8 @@ // where all clauses are optional, and .InSequence()/.After()/ // .WillOnce() can appear any number of times. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_GMOCK_SPEC_BUILDERS_H_ #define GMOCK_INCLUDE_GMOCK_GMOCK_SPEC_BUILDERS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h @@ -38,6 +38,8 @@ // This file contains template meta-programming utility classes needed // for implementing Google Mock. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_GENERATED_INTERNAL_UTILS_H_ #define GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_GENERATED_INTERNAL_UTILS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h @@ -35,6 +35,8 @@ // Mock. They are subject to change without notice, so please DO NOT // USE THEM IN USER CODE. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_INTERNAL_UTILS_H_ #define GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_INTERNAL_UTILS_H_ Index: llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-port.h =================================================================== --- llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-port.h +++ llvm/trunk/utils/unittest/googlemock/include/gmock/internal/gmock-port.h @@ -36,6 +36,8 @@ // end with _ are part of Google Mock's public API and can be used by // code outside Google Mock. +// IWYU pragma: private, include "gmock/gmock.h" + #ifndef GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_PORT_H_ #define GMOCK_INCLUDE_GMOCK_INTERNAL_GMOCK_PORT_H_