Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2860)

Unified Diff: third_party/WebKit/Source/wtf/DataLog.h

Issue 2513363002: Remove WTF_ATTRIBUTE_PRINTF. (Closed)
Patch Set: Remove comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/wtf/Assertions.cpp ('k') | third_party/WebKit/Source/wtf/FilePrintStream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/DataLog.h
diff --git a/third_party/WebKit/Source/wtf/DataLog.h b/third_party/WebKit/Source/wtf/DataLog.h
index 1105eae28d24412b281401d85fbff99623f42a78..63dd77f12540ea9def7856cafe3a017312e48179 100644
--- a/third_party/WebKit/Source/wtf/DataLog.h
+++ b/third_party/WebKit/Source/wtf/DataLog.h
@@ -27,6 +27,7 @@
#define DataLog_h
#include "wtf/Assertions.h"
+#include "wtf/Compiler.h"
#include "wtf/FilePrintStream.h"
#include "wtf/WTFExport.h"
@@ -37,9 +38,8 @@ namespace WTF {
FilePrintStream& dataFile();
-WTF_EXPORT void dataLogFV(const char* format, va_list)
- WTF_ATTRIBUTE_PRINTF(1, 0);
-WTF_EXPORT void dataLogF(const char* format, ...) WTF_ATTRIBUTE_PRINTF(1, 2);
+WTF_EXPORT PRINTF_FORMAT(1, 0) void dataLogFV(const char* format, va_list);
+WTF_EXPORT PRINTF_FORMAT(1, 2) void dataLogF(const char* format, ...);
template <typename... T>
void dataLog(const T&... values) {
« no previous file with comments | « third_party/WebKit/Source/wtf/Assertions.cpp ('k') | third_party/WebKit/Source/wtf/FilePrintStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698