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

Unified Diff: src/ast/prettyprinter.h

Issue 1867383002: Revert of Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 months 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 | « src/arm64/simulator-arm64.h ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/prettyprinter.h
diff --git a/src/ast/prettyprinter.h b/src/ast/prettyprinter.h
index 4e90294ca987a9d4b707fb8519608671613219ae..0186203d27d99a702d22e7ec26d7fb3333b0d2fa 100644
--- a/src/ast/prettyprinter.h
+++ b/src/ast/prettyprinter.h
@@ -7,7 +7,6 @@
#include "src/allocation.h"
#include "src/ast/ast.h"
-#include "src/base/compiler-specific.h"
namespace v8 {
namespace internal {
@@ -21,7 +20,7 @@
// string. The result string is alive as long as the CallPrinter is alive.
const char* Print(FunctionLiteral* program, int position);
- void PRINTF_FORMAT(2, 3) Print(const char* format, ...);
+ void Print(const char* format, ...);
void Find(AstNode* node, bool print = false);
@@ -63,7 +62,7 @@
const char* PrintExpression(FunctionLiteral* program);
const char* PrintProgram(FunctionLiteral* program);
- void PRINTF_FORMAT(2, 3) Print(const char* format, ...);
+ void Print(const char* format, ...);
// Print a node to stdout.
static void PrintOut(Isolate* isolate, AstNode* node);
« no previous file with comments | « src/arm64/simulator-arm64.h ('k') | src/ast/prettyprinter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698