Remove unicode quotes characters that somehow made it into a recent commit of mine.

llvm-svn: 108552
This commit is contained in:
Ted Kremenek 2010-07-16 20:49:01 +00:00
parent 2abc0383ce
commit 0030be81f5
2 changed files with 2 additions and 2 deletions

View File

@ -2985,7 +2985,7 @@ def warn_printf_ignored_flag: Warning<
"flag '%0' is ignored when flag '%1' is present">,
InGroup<Format>;
def warn_scanf_scanlist_incomplete : Warning<
"no closing ] for %%[ in scanf format string">,
"no closing ']' for '%%[' in scanf format string">,
InGroup<Format>;
// CHECK: returning address/reference of stack memory

View File

@ -11,5 +11,5 @@ void test(const char *s, int *i) {
scanf(s, i); // expected-warning{{ormat string is not a string literal}}
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}}
scanf("%d%[asdfasdfd", i, s); // expected-warning{{no closing ']' for '%[' in scanf format string}}
}