summaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/internal/gtest-port.h
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@google.com>2023-01-24 19:09:35 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-01-24 19:10:09 (GMT)
commit2491710524094dc3b77cfa4e8eda2ba8edb0d91c (patch)
tree2c9bdfb14ae930e22a89dcbee3ae97f93a26451a /googletest/include/gtest/internal/gtest-port.h
parent408471e20cfaa7ccd585fe5e1c6e7b6fba8ce06e (diff)
downloadgoogletest-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/gtest-port.h')
-rw-r--r--googletest/include/gtest/internal/gtest-port.h2
1 files changed, 1 insertions, 1 deletions
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)