clang-format

This commit is contained in:
Victor Zverovich
2019-06-30 06:58:49 -07:00
parent 260c115908
commit bd3fd3bfda
2 changed files with 17 additions and 35 deletions

View File

@@ -246,7 +246,8 @@ int format_float(char* buf, std::size_t size, const char* format, int precision,
T value) {
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
if (precision > 100000) {
throw std::runtime_error("fuzz mode - avoid large allocation inside snprintf");
throw std::runtime_error(
"fuzz mode - avoid large allocation inside snprintf");
}
#endif
// Suppress the warning about nonliteral format string.