benhamilton added a comment.

> That does look like a bug in the SDK, to me.

OK.  I'll file a Radar bug upstream; in the meantime, this means since this 
diff landed in 2016, clang has been raising `-Wformat-extra-args` when 
compiling any code which passes the result of `-[NSBundle 
localizedStringForKey:value:table:]` to `+[NSString stringWithFormat:]` and 
friends (which is a fairly common operation—any localized string with an 
argument will do this).

I assume Apple will fix this in the SDK the next time they integrate their fork 
of clang from master.


Repository:
  rL LLVM

https://reviews.llvm.org/D25820



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to