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

Unified Diff: runtime/vm/object.h

Issue 10869063: Add attributions so printf like functions can have their arguments checked. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased Created 8 years, 3 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 | « runtime/vm/message_handler_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index b2b665afa71518cab5551c9f0a5c0166728db680..cd733585a351685055242f29ec87ddb0c5ffef1a 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3540,7 +3540,8 @@ class String : public Instance {
static RawString* ToLowerCase(const String& str,
Heap::Space space = Heap::kNew);
- static RawString* NewFormatted(const char* format, ...);
+ static RawString* NewFormatted(const char* format, ...)
+ PRINTF_ATTRIBUTE(1, 2);
protected:
bool HasHash() const {
« no previous file with comments | « runtime/vm/message_handler_test.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698