These appear to be "matching quotes" characters. I don't know why my editor added them. I've removed them in r108552.
On Jul 16, 2010, at 1:08 PM, Chris Lattner wrote: > > On Jul 16, 2010, at 11:28 AM, Ted Kremenek wrote: > >> Author: kremenek >> Date: Fri Jul 16 13:28:03 2010 >> New Revision: 108542 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=108542&view=rev >> Log: >> Hook up warning for an incomplete scanlist in scanf format strings. > > Hey Ted, > >> @@ -2985,7 +2985,7 @@ >> "flag '%0' is ignored when flag '%1' is present">, >> InGroup<Format>; >> def warn_scanf_scanlist_incomplete : Warning< >> - "scanlist not terminated in format string">, >> + "no closing ‘]’ for ‘%%[’ in scanf format string">, > > You've got a crazy unicode thing going on here? > >> >> scanf("%0d", i); // expected-warning{{zero field width in scanf format >> string is unused}} >> scanf("%00d", i); // expected-warning{{zero field width in scanf format >> string is unused}} >> + scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ‘]’ for >> ‘%[’ in scanf format string}} > > And here? > > -Chris > _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
