diff options
author | Tom Hughes <tomhughes@google.com> | 2023-01-24 19:09:35 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-01-24 19:10:09 (GMT) |
commit | 2491710524094dc3b77cfa4e8eda2ba8edb0d91c (patch) | |
tree | 2c9bdfb14ae930e22a89dcbee3ae97f93a26451a /googletest/include/gtest/internal | |
parent | 408471e20cfaa7ccd585fe5e1c6e7b6fba8ce06e (diff) | |
download | googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.zip googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.gz googletest-2491710524094dc3b77cfa4e8eda2ba8edb0d91c.tar.bz2 |
Fix formatting of C++ files
PiperOrigin-RevId: 504325204
Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
Diffstat (limited to 'googletest/include/gtest/internal')
-rw-r--r-- | googletest/include/gtest/internal/gtest-param-util.h | 2 | ||||
-rw-r--r-- | googletest/include/gtest/internal/gtest-port.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/googletest/include/gtest/internal/gtest-param-util.h b/googletest/include/gtest/internal/gtest-param-util.h index 7092d10..358ef72 100644 --- a/googletest/include/gtest/internal/gtest-param-util.h +++ b/googletest/include/gtest/internal/gtest-param-util.h @@ -956,7 +956,7 @@ class CartesianProductHolder { template <typename From, typename To> class ParamGeneratorConverter : public ParamGeneratorInterface<To> { public: - ParamGeneratorConverter(ParamGenerator<From> gen) // NOLINT + ParamGeneratorConverter(ParamGenerator<From> gen) // NOLINT : generator_(std::move(gen)) {} ParamIteratorInterface<To>* Begin() const override { diff --git a/googletest/include/gtest/internal/gtest-port.h b/googletest/include/gtest/internal/gtest-port.h index 6db191b..b4fa3f0 100644 --- a/googletest/include/gtest/internal/gtest-port.h +++ b/googletest/include/gtest/internal/gtest-port.h @@ -712,7 +712,7 @@ typedef struct _RTL_CRITICAL_SECTION GTEST_CRITICAL_SECTION; #define GTEST_ATTRIBUTE_PRINTF_(string_index, first_to_check) \ __attribute__((format(__MINGW_PRINTF_FORMAT, string_index, first_to_check))) #elif GTEST_HAVE_ATTRIBUTE_(format) -#define GTEST_ATTRIBUTE_PRINTF_(string_index, first_to_check) \ +#define GTEST_ATTRIBUTE_PRINTF_(string_index, first_to_check) \ __attribute__((format(printf, string_index, first_to_check))) #else #define GTEST_ATTRIBUTE_PRINTF_(string_index, first_to_check) |