Merge V8 5.2.361.47 DO NOT MERGE
https://chromium.googlesource.com/v8/v8/+/5.2.361.47
FPIIM-449
Change-Id: Ibec421b85a9b88cb3a432ada642e469fe7e78346
(cherry picked from commit bcf72ee8e3b26f1d0726869c7ddb3921c68b09a8)
diff --git a/src/log-utils.h b/src/log-utils.h
index 3e70a96..059e5a5 100644
--- a/src/log-utils.h
+++ b/src/log-utils.h
@@ -10,6 +10,7 @@
#include <cstdarg>
#include "src/allocation.h"
+#include "src/base/compiler-specific.h"
#include "src/base/platform/mutex.h"
#include "src/flags.h"
@@ -62,10 +63,10 @@
~MessageBuilder() { }
// Append string data to the log message.
- void Append(const char* format, ...);
+ void PRINTF_FORMAT(2, 3) Append(const char* format, ...);
// Append string data to the log message.
- void AppendVA(const char* format, va_list args);
+ void PRINTF_FORMAT(2, 0) AppendVA(const char* format, va_list args);
// Append a character to the log message.
void Append(const char c);