gdbsupport: add format attribute to print_xml_feature::add_line
[deliverable/binutils-gdb.git] / gdbsupport / tdesc.h
index 73caf24536f38043d374832f727171d87d559768..456e8e070b1230dc030cb90ed7cf68fcb5cba690 100644 (file)
@@ -438,7 +438,7 @@ private:
      functions appends a newline, so don't include one in the strings being
      passed.  */
   void add_line (const std::string &str);
-  void add_line (const char *fmt, ...);
+  void add_line (const char *fmt, ...) ATTRIBUTE_PRINTF (2, 3);
 
   /* The buffer we are writing too.  */
   std::string *m_buffer;
This page took 0.023024 seconds and 4 git commands to generate.