diff options
author | Tom Hughes <tomhughes@google.com> | 2023-01-05 16:43:19 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-05 16:44:01 (GMT) |
commit | e5e46b09a10cf0f575dbab2702b72f2460e31964 (patch) | |
tree | 600bac3d6bbeccb3b4ceb243507dcf2970c23cf1 /googletest/include | |
parent | 0296d7d37007ec54441cb9f8cd001da6ac58eea8 (diff) | |
download | googletest-e5e46b09a10cf0f575dbab2702b72f2460e31964.zip googletest-e5e46b09a10cf0f575dbab2702b72f2460e31964.tar.gz googletest-e5e46b09a10cf0f575dbab2702b72f2460e31964.tar.bz2 |
IWYU: Add missing std includes
PiperOrigin-RevId: 499893032
Change-Id: I33304802b7c82ae2d008f3ee89df38866e5f57ba
Diffstat (limited to 'googletest/include')
-rw-r--r-- | googletest/include/gtest/gtest-message.h | 2 | ||||
-rw-r--r-- | googletest/include/gtest/gtest-printers.h | 1 | ||||
-rw-r--r-- | googletest/include/gtest/gtest-spi.h | 2 | ||||
-rw-r--r-- | googletest/include/gtest/gtest-test-part.h | 2 | ||||
-rw-r--r-- | googletest/include/gtest/gtest.h | 4 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-death-test-internal.h | 1 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-filepath.h | 2 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-internal.h | 1 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-param-util.h | 3 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 1 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-string.h | 1 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-type-util.h | 4 |
12 files changed, 24 insertions, 0 deletions
diff --git a/googletest/include/gtest/gtest-message.h b/googletest/include/gtest/gtest-message.h index 6c8bf90..4d4b152 100644 --- a/googletest/include/gtest/gtest-message.h +++ b/googletest/include/gtest/gtest-message.h @@ -50,7 +50,9 @@ #include <limits> #include <memory> +#include <ostream> #include <sstream> +#include <string> #include "gtest/internal/gtest-port.h" diff --git a/googletest/include/gtest/gtest-printers.h b/googletest/include/gtest/gtest-printers.h index eeaef04..0055e37 100644 --- a/googletest/include/gtest/gtest-printers.h +++ b/googletest/include/gtest/gtest-printers.h @@ -108,6 +108,7 @@ #include <string> #include <tuple> #include <type_traits> +#include <typeinfo> #include <utility> #include <vector> diff --git a/googletest/include/gtest/gtest-spi.h b/googletest/include/gtest/gtest-spi.h index bec8c48..c0613b6 100644 --- a/googletest/include/gtest/gtest-spi.h +++ b/googletest/include/gtest/gtest-spi.h @@ -33,6 +33,8 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_GTEST_SPI_H_ #define GOOGLETEST_INCLUDE_GTEST_GTEST_SPI_H_ +#include <string> + #include "gtest/gtest.h" GTEST_DISABLE_MSC_WARNINGS_PUSH_(4251 \ diff --git a/googletest/include/gtest/gtest-test-part.h b/googletest/include/gtest/gtest-test-part.h index 09cc8c3..8290b4d 100644 --- a/googletest/include/gtest/gtest-test-part.h +++ b/googletest/include/gtest/gtest-test-part.h @@ -35,6 +35,8 @@ #define GOOGLETEST_INCLUDE_GTEST_GTEST_TEST_PART_H_ #include <iosfwd> +#include <ostream> +#include <string> #include <vector> #include "gtest/internal/gtest-internal.h" diff --git a/googletest/include/gtest/gtest.h b/googletest/include/gtest/gtest.h index fcad3ae..3e452a5 100644 --- a/googletest/include/gtest/gtest.h +++ b/googletest/include/gtest/gtest.h @@ -51,9 +51,13 @@ #include <cstddef> #include <cstdint> +#include <iomanip> #include <limits> #include <memory> #include <ostream> +#include <set> +#include <sstream> +#include <string> #include <type_traits> #include <vector> diff --git a/googletest/include/gtest/internal/gtest-death-test-internal.h b/googletest/include/gtest/internal/gtest-death-test-internal.h index 3478217..4687dae 100644 --- a/googletest/include/gtest/internal/gtest-death-test-internal.h +++ b/googletest/include/gtest/internal/gtest-death-test-internal.h @@ -42,6 +42,7 @@ #include <stdio.h> #include <memory> +#include <string> #include "gtest/gtest-matchers.h" #include "gtest/internal/gtest-internal.h" diff --git a/googletest/include/gtest/internal/gtest-filepath.h b/googletest/include/gtest/internal/gtest-filepath.h index ceba8f2..5189c81 100644 --- a/googletest/include/gtest/internal/gtest-filepath.h +++ b/googletest/include/gtest/internal/gtest-filepath.h @@ -42,6 +42,8 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_ #define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_FILEPATH_H_ +#include <string> + #include "gtest/internal/gtest-port.h" #include "gtest/internal/gtest-string.h" diff --git a/googletest/include/gtest/internal/gtest-internal.h b/googletest/include/gtest/internal/gtest-internal.h index e9c2441..3121d42 100644 --- a/googletest/include/gtest/internal/gtest-internal.h +++ b/googletest/include/gtest/internal/gtest-internal.h @@ -64,6 +64,7 @@ #include <set> #include <string> #include <type_traits> +#include <utility> #include <vector> #include "gtest/gtest-message.h" diff --git a/googletest/include/gtest/internal/gtest-param-util.h b/googletest/include/gtest/internal/gtest-param-util.h index fb989e0..7092d10 100644 --- a/googletest/include/gtest/internal/gtest-param-util.h +++ b/googletest/include/gtest/internal/gtest-param-util.h @@ -40,8 +40,11 @@ #include <cassert> #include <iterator> +#include <map> #include <memory> +#include <ostream> #include <set> +#include <string> #include <tuple> #include <type_traits> #include <utility> diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index d427f71..5d81adb 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -270,6 +270,7 @@ #include <limits> #include <locale> #include <memory> +#include <ostream> #include <string> // #include <mutex> // Guarded by GTEST_IS_THREADSAFE below #include <tuple> diff --git a/googletest/include/gtest/internal/gtest-string.h b/googletest/include/gtest/internal/gtest-string.h index cca2e1f..cc0dd75 100644 --- a/googletest/include/gtest/internal/gtest-string.h +++ b/googletest/include/gtest/internal/gtest-string.h @@ -51,6 +51,7 @@ #include <string.h> #include <cstdint> +#include <sstream> #include <string> #include "gtest/internal/gtest-port.h" diff --git a/googletest/include/gtest/internal/gtest-type-util.h b/googletest/include/gtest/internal/gtest-type-util.h index 6bc02a7..17a470b 100644 --- a/googletest/include/gtest/internal/gtest-type-util.h +++ b/googletest/include/gtest/internal/gtest-type-util.h @@ -37,6 +37,10 @@ #ifndef GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_ #define GOOGLETEST_INCLUDE_GTEST_INTERNAL_GTEST_TYPE_UTIL_H_ +#include <string> +#include <type_traits> +#include <typeinfo> + #include "gtest/internal/gtest-port.h" // #ifdef __GNUC__ is too general here. It is possible to use gcc without using |